PennyLane Lightning vs Qiskit Aer (MPS)

The same circuits, one host

PennyLane Lightning and Qiskit Aer (MPS) both finished 120 of the 175 workloads measured here. PennyLane Lightning was faster in 54 of them and Qiskit Aer (MPS) in 66. At the median Qiskit Aer (MPS) was 1.1× faster.

By circuit family

Who was faster where

Circuit familyWorkloads both finishedPennyLane Lightning faster inQiskit Aer (MPS) faster inFaster at the median
Workloads both finished
12
PennyLane Lightning faster in
0
Qiskit Aer (MPS) faster in
12
Faster at the median
Qiskit Aer (MPS) 2.0×
Workloads both finished
14
PennyLane Lightning faster in
0
Qiskit Aer (MPS) faster in
14
Faster at the median
Qiskit Aer (MPS) 1.6×
Workloads both finished
21
PennyLane Lightning faster in
11
Qiskit Aer (MPS) faster in
10
Faster at the median
PennyLane Lightning 1.0×
Workloads both finished
8
PennyLane Lightning faster in
4
Qiskit Aer (MPS) faster in
4
Faster at the median
PennyLane Lightning 1.6×
Workloads both finished
14
PennyLane Lightning faster in
9
Qiskit Aer (MPS) faster in
5
Faster at the median
PennyLane Lightning 3.3×
Workloads both finished
12
PennyLane Lightning faster in
6
Qiskit Aer (MPS) faster in
6
Faster at the median
Qiskit Aer (MPS) 1.6×
Workloads both finished
15
PennyLane Lightning faster in
9
Qiskit Aer (MPS) faster in
6
Faster at the median
PennyLane Lightning 1.1×
Workloads both finished
12
PennyLane Lightning faster in
6
Qiskit Aer (MPS) faster in
6
Faster at the median
PennyLane Lightning 1.0×
Workloads both finished
12
PennyLane Lightning faster in
9
Qiskit Aer (MPS) faster in
3
Faster at the median
PennyLane Lightning 1.3×

Local circuit dynamics

Brickwork nearest-neighbour layers: lattice models, quench dynamics

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
1.48 ms
Qiskit Aer (MPS)
942 µs
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
2.18 ms
Qiskit Aer (MPS)
1.43 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
2.88 ms
Qiskit Aer (MPS)
1.83 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
5.58 ms
Qiskit Aer (MPS)
2.34 ms
Faster
Qiskit Aer (MPS) 2.4×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
66.6 ms
Qiskit Aer (MPS)
2.79 ms
Faster
Qiskit Aer (MPS) 23.9×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
2.46 s
Qiskit Aer (MPS)
3.14 ms
Faster
Qiskit Aer (MPS) 784×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
1.70 ms
Qiskit Aer (MPS)
1.08 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
2.50 ms
Qiskit Aer (MPS)
1.80 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
3.49 ms
Qiskit Aer (MPS)
2.48 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
9.80 ms
Qiskit Aer (MPS)
3.39 ms
Faster
Qiskit Aer (MPS) 2.9×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit Aer (MPS)
4.32 ms
Faster
Qiskit Aer (MPS) 40.9×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
8.20 s
Qiskit Aer (MPS)
5.35 ms
Faster
Qiskit Aer (MPS) 1534×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
3.25 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
4.77 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
27.7 ms
Qiskit Aer (MPS)
unsupported
Faster
–

Hamiltonian time evolution

Trotterised spin chain: ZZ + XX couplings with local fields

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
4.43 ms
Qiskit Aer (MPS)
2.81 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
9.09 ms
Qiskit Aer (MPS)
5.89 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
14.5 ms
Qiskit Aer (MPS)
9.17 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
32.9 ms
Qiskit Aer (MPS)
12.3 ms
Faster
Qiskit Aer (MPS) 2.7×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
444 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
16.1 s
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
4.63 ms
Qiskit Aer (MPS)
2.95 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
9.47 ms
Qiskit Aer (MPS)
6.44 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit Aer (MPS)
10.0 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
37.6 ms
Qiskit Aer (MPS)
14.3 ms
Faster
Qiskit Aer (MPS) 2.6×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
563 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
21.9 s
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
9.63 ms
Qiskit Aer (MPS)
6.73 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit Aer (MPS)
11.1 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
45.6 ms
Qiskit Aer (MPS)
16.1 ms
Faster
Qiskit Aer (MPS) 2.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
795 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
9.40 ms
Qiskit Aer (MPS)
6.26 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
14.8 ms
Qiskit Aer (MPS)
10.0 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
38.4 ms
Qiskit Aer (MPS)
13.8 ms
Faster
Qiskit Aer (MPS) 2.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
588 ms
Qiskit Aer (MPS)
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
8.08 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
15.9 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
26.4 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
116 ms
Qiskit Aer (MPS)
unsupported
Faster
–

MaxCut on a ring

QAOA over a cycle graph

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.84 ms
Qiskit Aer (MPS)
1.84 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.94 ms
Qiskit Aer (MPS)
4.28 ms
Faster
Qiskit Aer (MPS) 1.2×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
6.97 ms
Qiskit Aer (MPS)
19.9 ms
Faster
PennyLane Lightning 2.9×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
14.2 ms
Qiskit Aer (MPS)
54.6 ms
Faster
PennyLane Lightning 3.8×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
176 ms
Qiskit Aer (MPS)
88.7 ms
Faster
Qiskit Aer (MPS) 2.0×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.43 s
Qiskit Aer (MPS)
123 ms
Faster
Qiskit Aer (MPS) 52.2×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.02 ms
Qiskit Aer (MPS)
1.95 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.23 ms
Qiskit Aer (MPS)
4.93 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
7.65 ms
Qiskit Aer (MPS)
32.2 ms
Faster
PennyLane Lightning 4.2×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
18.2 ms
Qiskit Aer (MPS)
131 ms
Faster
PennyLane Lightning 7.2×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
285 ms
Qiskit Aer (MPS)
262 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.2 s
Qiskit Aer (MPS)
424 ms
Faster
Qiskit Aer (MPS) 28.7×
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.59 ms
Qiskit Aer (MPS)
5.72 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.47 ms
Qiskit Aer (MPS)
56.4 ms
Faster
PennyLane Lightning 6.7×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
27.1 ms
Qiskit Aer (MPS)
274 ms
Faster
PennyLane Lightning 10.1×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
543 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.43 ms
Qiskit Aer (MPS)
5.03 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
7.92 ms
Qiskit Aer (MPS)
35.0 ms
Faster
PennyLane Lightning 4.4×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
20.6 ms
Qiskit Aer (MPS)
141 ms
Faster
PennyLane Lightning 6.9×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
332 ms
Qiskit Aer (MPS)
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.73 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.69 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
61.5 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
7.03 ms
Qiskit Aer (MPS)
4.80 ms
Faster
Qiskit Aer (MPS) 1.5×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
9.39 ms
Qiskit Aer (MPS)
23.8 ms
Faster
PennyLane Lightning 2.5×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.3 ms
Qiskit Aer (MPS)
123 ms
Faster
PennyLane Lightning 7.1×

MaxCut, arbitrary graph

QAOA over a random-edge graph

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
3.28 ms
Qiskit Aer (MPS)
2.13 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
6.53 ms
Qiskit Aer (MPS)
5.01 ms
Faster
Qiskit Aer (MPS) 1.3×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
10.8 ms
Qiskit Aer (MPS)
192 ms
Faster
PennyLane Lightning 17.9×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
18.6 ms
Qiskit Aer (MPS)
4.03 s
Faster
PennyLane Lightning 216×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
258 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
9.47 s
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.46 ms
Qiskit Aer (MPS)
2.22 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
6.83 ms
Qiskit Aer (MPS)
5.54 ms
Faster
Qiskit Aer (MPS) 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
11.4 ms
Qiskit Aer (MPS)
208 ms
Faster
PennyLane Lightning 18.2×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
23.0 ms
Qiskit Aer (MPS)
5.23 s
Faster
PennyLane Lightning 227×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
366 ms
Qiskit Aer (MPS)
timeout
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
15.3 s
Qiskit Aer (MPS)
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
6.49 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
12.6 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
21.5 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit Aer (MPS)
unsupported
Faster
–

Sampling / IQP

Diagonal phase circuit between Hadamard layers

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.97 ms
Qiskit Aer (MPS)
1.98 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
5.19 ms
Qiskit Aer (MPS)
4.58 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
7.50 ms
Qiskit Aer (MPS)
21.5 ms
Faster
PennyLane Lightning 2.9×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
15.5 ms
Qiskit Aer (MPS)
61.9 ms
Faster
PennyLane Lightning 4.0×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
206 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
7.66 s
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.18 ms
Qiskit Aer (MPS)
2.11 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.57 ms
Qiskit Aer (MPS)
5.12 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
8.14 ms
Qiskit Aer (MPS)
36.1 ms
Faster
PennyLane Lightning 4.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
20.3 ms
Qiskit Aer (MPS)
167 ms
Faster
PennyLane Lightning 8.2×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
317 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
13.6 s
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.87 ms
Qiskit Aer (MPS)
5.95 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.96 ms
Qiskit Aer (MPS)
65.2 ms
Faster
PennyLane Lightning 7.3×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
28.1 ms
Qiskit Aer (MPS)
359 ms
Faster
PennyLane Lightning 12.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
566 ms
Qiskit Aer (MPS)
skip
Faster
–
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.76 ms
Qiskit Aer (MPS)
5.31 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
8.48 ms
Qiskit Aer (MPS)
39.0 ms
Faster
PennyLane Lightning 4.6×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
22.2 ms
Qiskit Aer (MPS)
179 ms
Faster
PennyLane Lightning 8.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
363 ms
Qiskit Aer (MPS)
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.95 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
10.1 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.4 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
65.3 ms
Qiskit Aer (MPS)
unsupported
Faster
–

Quantum kernel feature map

Data-encoding circuit for kernel methods

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
4.26 ms
Qiskit Aer (MPS)
1.81 ms
Faster
Qiskit Aer (MPS) 2.4×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
5.92 ms
Qiskit Aer (MPS)
2.58 ms
Faster
Qiskit Aer (MPS) 2.3×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
12.9 ms
Qiskit Aer (MPS)
3.42 ms
Faster
Qiskit Aer (MPS) 3.8×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
40.2 ms
Qiskit Aer (MPS)
57.9 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
66.1 ms
Qiskit Aer (MPS)
82.5 ms
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
262 ms
Qiskit Aer (MPS)
107 ms
Faster
Qiskit Aer (MPS) 2.4×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
301 ms
Qiskit Aer (MPS)
463 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
501 ms
Qiskit Aer (MPS)
657 ms
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.19 s
Qiskit Aer (MPS)
855 ms
Faster
Qiskit Aer (MPS) 2.6×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.41 s
Qiskit Aer (MPS)
1.84 s
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.25 s
Qiskit Aer (MPS)
2.64 s
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
8.28 s
Qiskit Aer (MPS)
3.44 s
Faster
Qiskit Aer (MPS) 2.4×

Hardware-efficient VQE

RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.18 ms
Qiskit Aer (MPS)
1.58 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
3.48 ms
Qiskit Aer (MPS)
3.55 ms
Faster
PennyLane Lightning 1.0×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
4.96 ms
Qiskit Aer (MPS)
18.4 ms
Faster
PennyLane Lightning 3.7×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
10.3 ms
Qiskit Aer (MPS)
57.4 ms
Faster
PennyLane Lightning 5.6×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
136 ms
Qiskit Aer (MPS)
96.0 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
4.80 s
Qiskit Aer (MPS)
134 ms
Faster
Qiskit Aer (MPS) 35.9×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.41 ms
Qiskit Aer (MPS)
1.69 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
3.81 ms
Qiskit Aer (MPS)
4.12 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
5.56 ms
Qiskit Aer (MPS)
34.1 ms
Faster
PennyLane Lightning 6.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
14.5 ms
Qiskit Aer (MPS)
169 ms
Faster
PennyLane Lightning 11.6×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
248 ms
Qiskit Aer (MPS)
350 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
10.6 s
Qiskit Aer (MPS)
578 ms
Faster
Qiskit Aer (MPS) 18.3×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
4.69 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
7.64 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
11.5 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
54.3 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.38 ms
Qiskit Aer (MPS)
3.85 ms
Faster
Qiskit Aer (MPS) 1.4×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit Aer (MPS)
20.7 ms
Faster
PennyLane Lightning 3.0×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
12.4 ms
Qiskit Aer (MPS)
125 ms
Faster
PennyLane Lightning 10.1×

Strongly-entangling ansatz

RX/RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.43 ms
Qiskit Aer (MPS)
1.83 ms
Faster
Qiskit Aer (MPS) 1.3×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.09 ms
Qiskit Aer (MPS)
4.02 ms
Faster
Qiskit Aer (MPS) 1.0×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
5.88 ms
Qiskit Aer (MPS)
18.2 ms
Faster
PennyLane Lightning 3.1×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
13.1 ms
Qiskit Aer (MPS)
57.7 ms
Faster
PennyLane Lightning 4.4×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit Aer (MPS)
92.3 ms
Faster
Qiskit Aer (MPS) 1.9×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.45 s
Qiskit Aer (MPS)
131 ms
Faster
Qiskit Aer (MPS) 49.2×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.65 ms
Qiskit Aer (MPS)
1.93 ms
Faster
Qiskit Aer (MPS) 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
4.38 ms
Qiskit Aer (MPS)
4.52 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.44 ms
Qiskit Aer (MPS)
32.6 ms
Faster
PennyLane Lightning 5.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.1 ms
Qiskit Aer (MPS)
164 ms
Faster
PennyLane Lightning 9.5×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
290 ms
Qiskit Aer (MPS)
347 ms
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.3 s
Qiskit Aer (MPS)
560 ms
Faster
Qiskit Aer (MPS) 22.0×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.82 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.62 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit Aer (MPS)
unsupported
Faster
–

Data re-uploading QML

Repeated encode-and-rotate classifier

WorkloadQubitsPennyLane LightningQiskit Aer (MPS)Faster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
5.31 ms
Qiskit Aer (MPS)
3.31 ms
Faster
Qiskit Aer (MPS) 1.6×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
7.58 ms
Qiskit Aer (MPS)
6.67 ms
Faster
Qiskit Aer (MPS) 1.1×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
17.0 ms
Qiskit Aer (MPS)
11.3 ms
Faster
Qiskit Aer (MPS) 1.5×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
53.2 ms
Qiskit Aer (MPS)
106 ms
Faster
PennyLane Lightning 2.0×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
88.0 ms
Qiskit Aer (MPS)
216 ms
Faster
PennyLane Lightning 2.5×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
354 ms
Qiskit Aer (MPS)
359 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
398 ms
Qiskit Aer (MPS)
839 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
670 ms
Qiskit Aer (MPS)
1.72 s
Faster
PennyLane Lightning 2.6×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.81 s
Qiskit Aer (MPS)
2.87 s
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.80 s
Qiskit Aer (MPS)
3.37 s
Faster
PennyLane Lightning 1.9×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.91 s
Qiskit Aer (MPS)
6.96 s
Faster
PennyLane Lightning 2.4×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
11.3 s
Qiskit Aer (MPS)
11.4 s
Faster
PennyLane Lightning 1.0×
Gradient, local observable, depth 2
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer (MPS)
unsupported
Faster
–

How this was measured

One host, one harness

Every simulator ran the same circuits on one host, single-threaded and core-pinned, driven through one common harness, so any overhead the harness adds is charged to the simulator. Each result was checked against a reference implementation: a simulator that ran fast but returned the wrong answer is left out of the ranking. Nothing is interpolated or rescaled. A time was measured, or it is not shown.

Run 2026-08-10, 8 cores, threads=1. numpy 2.4.6, scipy 1.18.0, torch 2.13.0, numba 0.66.0, pennylane 0.45.1, pennylane_lightning 0.45.0, qiskit 2.5.1, qulacs 0.6.14, tensorcircuit 1.8.0, cudaq 0.15.1. One host and one thread make the comparison reproducible. It is not a prediction for your laptop.

The interactive tool shows the same measurements for any workload you pick, with the quantum hardware that could run it and what a run would cost.

Hardware figures each carry the source they came from and the date they were measured. The oldest in this set is 626 days old. Costs are bands, not quotes.

Host: Linux-6.8.0-1051-aws-x86_64-with-glibc2.35, 8 cores, threads=1, core-pinned. numpy 2.4.6, scipy 1.18.0, torch 2.13.0, numba 0.66.0, pennylane 0.45.1, pennylane_lightning 0.45.0. Every simulator was driven through one common harness, so any harness binding overhead is charged to the simulator rather than hidden.

© 2026 EigenOrbit. All rights reserved.