PennyLane Lightning vs Qiskit Aer

The same circuits, one host

PennyLane Lightning and Qiskit Aer both finished 138 of the 175 workloads measured here. PennyLane Lightning was faster in 74 of them and Qiskit Aer in 64. At the median PennyLane Lightning was 1.1× faster.

By circuit family

Who was faster where

Circuit familyWorkloads both finishedPennyLane Lightning faster inQiskit Aer faster inFaster at the median
Workloads both finished
12
PennyLane Lightning faster in
5
Qiskit Aer faster in
7
Faster at the median
Qiskit Aer 1.1×
Workloads both finished
20
PennyLane Lightning faster in
8
Qiskit Aer faster in
12
Faster at the median
Qiskit Aer 1.0×
Workloads both finished
23
PennyLane Lightning faster in
11
Qiskit Aer faster in
12
Faster at the median
Qiskit Aer 1.1×
Workloads both finished
12
PennyLane Lightning faster in
6
Qiskit Aer faster in
6
Faster at the median
Qiskit Aer 1.1×
Workloads both finished
20
PennyLane Lightning faster in
9
Qiskit Aer faster in
11
Faster at the median
Qiskit Aer 1.1×
Workloads both finished
12
PennyLane Lightning faster in
10
Qiskit Aer faster in
2
Faster at the median
PennyLane Lightning 1.4×
Workloads both finished
15
PennyLane Lightning faster in
7
Qiskit Aer faster in
8
Faster at the median
Qiskit Aer 1.1×
Workloads both finished
12
PennyLane Lightning faster in
8
Qiskit Aer faster in
4
Faster at the median
PennyLane Lightning 1.1×
Workloads both finished
12
PennyLane Lightning faster in
10
Qiskit Aer faster in
2
Faster at the median
PennyLane Lightning 1.8×

Local circuit dynamics

Brickwork nearest-neighbour layers: lattice models, quench dynamics

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
1.48 ms
Qiskit Aer
901 µs
Faster
Qiskit Aer 1.6×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
2.18 ms
Qiskit Aer
1.40 ms
Faster
Qiskit Aer 1.6×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
2.88 ms
Qiskit Aer
2.58 ms
Faster
Qiskit Aer 1.1×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
5.58 ms
Qiskit Aer
12.9 ms
Faster
PennyLane Lightning 2.3×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
66.6 ms
Qiskit Aer
216 ms
Faster
PennyLane Lightning 3.2×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
2.46 s
Qiskit Aer
4.49 s
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
1.70 ms
Qiskit Aer
1000 µs
Faster
Qiskit Aer 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
2.50 ms
Qiskit Aer
1.57 ms
Faster
Qiskit Aer 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
3.49 ms
Qiskit Aer
3.20 ms
Faster
Qiskit Aer 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
9.80 ms
Qiskit Aer
20.9 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit Aer
368 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
8.20 s
Qiskit Aer
7.41 s
Faster
Qiskit Aer 1.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
3.25 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
4.77 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
27.7 ms
Qiskit Aer
unsupported
Faster
–

Hamiltonian time evolution

Trotterised spin chain: ZZ + XX couplings with local fields

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
4.43 ms
Qiskit Aer
2.49 ms
Faster
Qiskit Aer 1.8×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
9.09 ms
Qiskit Aer
5.23 ms
Faster
Qiskit Aer 1.7×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
14.5 ms
Qiskit Aer
13.8 ms
Faster
Qiskit Aer 1.0×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
32.9 ms
Qiskit Aer
43.3 ms
Faster
PennyLane Lightning 1.3×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
444 ms
Qiskit Aer
666 ms
Faster
PennyLane Lightning 1.5×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
16.1 s
Qiskit Aer
12.9 s
Faster
Qiskit Aer 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
4.63 ms
Qiskit Aer
2.62 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
9.47 ms
Qiskit Aer
5.52 ms
Faster
Qiskit Aer 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit Aer
14.4 ms
Faster
Qiskit Aer 1.0×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
37.6 ms
Qiskit Aer
51.4 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
563 ms
Qiskit Aer
806 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
21.9 s
Qiskit Aer
15.9 s
Faster
Qiskit Aer 1.4×
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
9.63 ms
Qiskit Aer
5.39 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit Aer
14.7 ms
Faster
Qiskit Aer 1.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
45.6 ms
Qiskit Aer
60.2 ms
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
795 ms
Qiskit Aer
981 ms
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
9.40 ms
Qiskit Aer
5.31 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
14.8 ms
Qiskit Aer
14.3 ms
Faster
Qiskit Aer 1.0×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
38.4 ms
Qiskit Aer
51.3 ms
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
588 ms
Qiskit Aer
808 ms
Faster
PennyLane Lightning 1.4×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
8.08 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
15.9 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
26.4 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
116 ms
Qiskit Aer
unsupported
Faster
–

MaxCut on a ring

QAOA over a cycle graph

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.84 ms
Qiskit Aer
1.56 ms
Faster
Qiskit Aer 1.8×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.94 ms
Qiskit Aer
2.71 ms
Faster
Qiskit Aer 1.8×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
6.97 ms
Qiskit Aer
5.99 ms
Faster
Qiskit Aer 1.2×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
14.2 ms
Qiskit Aer
30.4 ms
Faster
PennyLane Lightning 2.1×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
176 ms
Qiskit Aer
517 ms
Faster
PennyLane Lightning 2.9×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.43 s
Qiskit Aer
9.94 s
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.02 ms
Qiskit Aer
1.62 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.23 ms
Qiskit Aer
2.99 ms
Faster
Qiskit Aer 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
7.65 ms
Qiskit Aer
6.66 ms
Faster
Qiskit Aer 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
18.2 ms
Qiskit Aer
38.1 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
285 ms
Qiskit Aer
672 ms
Faster
PennyLane Lightning 2.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.2 s
Qiskit Aer
12.8 s
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.59 ms
Qiskit Aer
3.01 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.47 ms
Qiskit Aer
7.21 ms
Faster
Qiskit Aer 1.2×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
27.1 ms
Qiskit Aer
47.7 ms
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
543 ms
Qiskit Aer
858 ms
Faster
PennyLane Lightning 1.6×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.43 ms
Qiskit Aer
2.92 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
7.92 ms
Qiskit Aer
6.85 ms
Faster
Qiskit Aer 1.2×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
20.6 ms
Qiskit Aer
39.4 ms
Faster
PennyLane Lightning 1.9×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
332 ms
Qiskit Aer
685 ms
Faster
PennyLane Lightning 2.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.73 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.69 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
61.5 ms
Qiskit Aer
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
7.03 ms
Qiskit Aer
2.93 ms
Faster
Qiskit Aer 2.4×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
9.39 ms
Qiskit Aer
6.43 ms
Faster
Qiskit Aer 1.5×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.3 ms
Qiskit Aer
31.0 ms
Faster
PennyLane Lightning 1.8×

MaxCut, arbitrary graph

QAOA over a random-edge graph

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
3.28 ms
Qiskit Aer
1.76 ms
Faster
Qiskit Aer 1.9×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
6.53 ms
Qiskit Aer
3.41 ms
Faster
Qiskit Aer 1.9×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
10.8 ms
Qiskit Aer
8.53 ms
Faster
Qiskit Aer 1.3×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
18.6 ms
Qiskit Aer
36.5 ms
Faster
PennyLane Lightning 2.0×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
258 ms
Qiskit Aer
678 ms
Faster
PennyLane Lightning 2.6×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
9.47 s
Qiskit Aer
13.8 s
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.46 ms
Qiskit Aer
1.83 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
6.83 ms
Qiskit Aer
3.68 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
11.4 ms
Qiskit Aer
9.34 ms
Faster
Qiskit Aer 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
23.0 ms
Qiskit Aer
45.3 ms
Faster
PennyLane Lightning 2.0×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
366 ms
Qiskit Aer
820 ms
Faster
PennyLane Lightning 2.2×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
15.3 s
Qiskit Aer
16.7 s
Faster
PennyLane Lightning 1.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
6.49 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
12.6 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
21.5 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit Aer
unsupported
Faster
–

Sampling / IQP

Diagonal phase circuit between Hadamard layers

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.97 ms
Qiskit Aer
1.69 ms
Faster
Qiskit Aer 1.8×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
5.19 ms
Qiskit Aer
2.99 ms
Faster
Qiskit Aer 1.7×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
7.50 ms
Qiskit Aer
6.66 ms
Faster
Qiskit Aer 1.1×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
15.5 ms
Qiskit Aer
31.8 ms
Faster
PennyLane Lightning 2.0×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
206 ms
Qiskit Aer
540 ms
Faster
PennyLane Lightning 2.6×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
7.66 s
Qiskit Aer
10.6 s
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.18 ms
Qiskit Aer
1.79 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.57 ms
Qiskit Aer
3.21 ms
Faster
Qiskit Aer 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
8.14 ms
Qiskit Aer
7.28 ms
Faster
Qiskit Aer 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
20.3 ms
Qiskit Aer
39.6 ms
Faster
PennyLane Lightning 2.0×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
317 ms
Qiskit Aer
681 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
13.6 s
Qiskit Aer
13.5 s
Faster
Qiskit Aer 1.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.87 ms
Qiskit Aer
3.22 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.96 ms
Qiskit Aer
7.83 ms
Faster
Qiskit Aer 1.1×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
28.1 ms
Qiskit Aer
49.3 ms
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
566 ms
Qiskit Aer
873 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.76 ms
Qiskit Aer
3.20 ms
Faster
Qiskit Aer 1.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
8.48 ms
Qiskit Aer
7.36 ms
Faster
Qiskit Aer 1.2×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
22.2 ms
Qiskit Aer
40.6 ms
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
363 ms
Qiskit Aer
703 ms
Faster
PennyLane Lightning 1.9×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.95 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
10.1 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.4 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
65.3 ms
Qiskit Aer
unsupported
Faster
–

Quantum kernel feature map

Data-encoding circuit for kernel methods

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
4.26 ms
Qiskit Aer
1.51 ms
Faster
Qiskit Aer 2.8×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
5.92 ms
Qiskit Aer
3.10 ms
Faster
Qiskit Aer 1.9×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
12.9 ms
Qiskit Aer
27.6 ms
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
40.2 ms
Qiskit Aer
47.6 ms
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
66.1 ms
Qiskit Aer
98.4 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
262 ms
Qiskit Aer
869 ms
Faster
PennyLane Lightning 3.3×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
301 ms
Qiskit Aer
383 ms
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
501 ms
Qiskit Aer
781 ms
Faster
PennyLane Lightning 1.6×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.19 s
Qiskit Aer
6.98 s
Faster
PennyLane Lightning 3.2×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.41 s
Qiskit Aer
1.51 s
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.25 s
Qiskit Aer
3.14 s
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
8.28 s
Qiskit Aer
27.9 s
Faster
PennyLane Lightning 3.4×

Hardware-efficient VQE

RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.18 ms
Qiskit Aer
1.31 ms
Faster
Qiskit Aer 1.7×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
3.48 ms
Qiskit Aer
2.20 ms
Faster
Qiskit Aer 1.6×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
4.96 ms
Qiskit Aer
4.69 ms
Faster
Qiskit Aer 1.1×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
10.3 ms
Qiskit Aer
40.5 ms
Faster
PennyLane Lightning 3.9×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
136 ms
Qiskit Aer
738 ms
Faster
PennyLane Lightning 5.4×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
4.80 s
Qiskit Aer
14.6 s
Faster
PennyLane Lightning 3.1×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.41 ms
Qiskit Aer
1.39 ms
Faster
Qiskit Aer 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
3.81 ms
Qiskit Aer
2.41 ms
Faster
Qiskit Aer 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
5.56 ms
Qiskit Aer
5.23 ms
Faster
Qiskit Aer 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
14.5 ms
Qiskit Aer
48.2 ms
Faster
PennyLane Lightning 3.3×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
248 ms
Qiskit Aer
899 ms
Faster
PennyLane Lightning 3.6×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
10.6 s
Qiskit Aer
17.6 s
Faster
PennyLane Lightning 1.7×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
4.69 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
7.64 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
11.5 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
54.3 ms
Qiskit Aer
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.38 ms
Qiskit Aer
2.31 ms
Faster
Qiskit Aer 2.3×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit Aer
4.81 ms
Faster
Qiskit Aer 1.4×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
12.4 ms
Qiskit Aer
42.0 ms
Faster
PennyLane Lightning 3.4×

Strongly-entangling ansatz

RX/RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.43 ms
Qiskit Aer
1.60 ms
Faster
Qiskit Aer 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.09 ms
Qiskit Aer
2.79 ms
Faster
Qiskit Aer 1.5×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
5.88 ms
Qiskit Aer
6.03 ms
Faster
PennyLane Lightning 1.0×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
13.1 ms
Qiskit Aer
32.4 ms
Faster
PennyLane Lightning 2.5×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit Aer
551 ms
Faster
PennyLane Lightning 3.1×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.45 s
Qiskit Aer
10.8 s
Faster
PennyLane Lightning 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.65 ms
Qiskit Aer
1.66 ms
Faster
Qiskit Aer 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
4.38 ms
Qiskit Aer
2.94 ms
Faster
Qiskit Aer 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.44 ms
Qiskit Aer
6.63 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.1 ms
Qiskit Aer
40.6 ms
Faster
PennyLane Lightning 2.4×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
290 ms
Qiskit Aer
697 ms
Faster
PennyLane Lightning 2.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.3 s
Qiskit Aer
13.7 s
Faster
PennyLane Lightning 1.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.82 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.62 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit Aer
unsupported
Faster
–

Data re-uploading QML

Repeated encode-and-rotate classifier

WorkloadQubitsPennyLane LightningQiskit AerFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
5.31 ms
Qiskit Aer
2.33 ms
Faster
Qiskit Aer 2.3×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
7.58 ms
Qiskit Aer
5.07 ms
Faster
Qiskit Aer 1.5×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
17.0 ms
Qiskit Aer
38.8 ms
Faster
PennyLane Lightning 2.3×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
53.2 ms
Qiskit Aer
74.3 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
88.0 ms
Qiskit Aer
162 ms
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
354 ms
Qiskit Aer
1.24 s
Faster
PennyLane Lightning 3.5×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
398 ms
Qiskit Aer
591 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
670 ms
Qiskit Aer
1.30 s
Faster
PennyLane Lightning 1.9×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.81 s
Qiskit Aer
9.89 s
Faster
PennyLane Lightning 3.5×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.80 s
Qiskit Aer
2.37 s
Faster
PennyLane Lightning 1.3×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.91 s
Qiskit Aer
5.23 s
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
11.3 s
Qiskit Aer
39.6 s
Faster
PennyLane Lightning 3.5×
Gradient, local observable, depth 2
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
8
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
12
PennyLane Lightning
unsupported
Qiskit Aer
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
16
PennyLane Lightning
unsupported
Qiskit Aer
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.