PennyLane Lightning vs Qiskit

The same circuits, one host

PennyLane Lightning and Qiskit both finished 121 of the 175 workloads measured here. PennyLane Lightning was faster in 93 of them and Qiskit in 28. At the median PennyLane Lightning was 1.7× faster.

By circuit family

Who was faster where

Circuit familyWorkloads both finishedPennyLane Lightning faster inQiskit faster inFaster at the median
Workloads both finished
10
PennyLane Lightning faster in
6
Qiskit faster in
4
Faster at the median
PennyLane Lightning 1.3×
Workloads both finished
18
PennyLane Lightning faster in
16
Qiskit faster in
2
Faster at the median
PennyLane Lightning 1.7×
Workloads both finished
21
PennyLane Lightning faster in
15
Qiskit faster in
6
Faster at the median
PennyLane Lightning 1.5×
Workloads both finished
10
PennyLane Lightning faster in
6
Qiskit faster in
4
Faster at the median
PennyLane Lightning 1.4×
Workloads both finished
18
PennyLane Lightning faster in
14
Qiskit faster in
4
Faster at the median
PennyLane Lightning 1.5×
Workloads both finished
8
PennyLane Lightning faster in
6
Qiskit faster in
2
Faster at the median
PennyLane Lightning 1.7×
Workloads both finished
14
PennyLane Lightning faster in
11
Qiskit faster in
3
Faster at the median
PennyLane Lightning 1.5×
Workloads both finished
10
PennyLane Lightning faster in
8
Qiskit faster in
2
Faster at the median
PennyLane Lightning 1.6×
Workloads both finished
12
PennyLane Lightning faster in
11
Qiskit faster in
1
Faster at the median
PennyLane Lightning 2.8×

Local circuit dynamics

Brickwork nearest-neighbour layers: lattice models, quench dynamics

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
1.48 ms
Qiskit
865 µs
Faster
Qiskit 1.7×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
2.18 ms
Qiskit
1.80 ms
Faster
Qiskit 1.2×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
2.88 ms
Qiskit
3.75 ms
Faster
PennyLane Lightning 1.3×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
5.58 ms
Qiskit
35.7 ms
Faster
PennyLane Lightning 6.4×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
66.6 ms
Qiskit
936 ms
Faster
PennyLane Lightning 14.1×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
2.46 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
1.70 ms
Qiskit
996 µs
Faster
Qiskit 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
2.50 ms
Qiskit
2.11 ms
Faster
Qiskit 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
3.49 ms
Qiskit
4.26 ms
Faster
PennyLane Lightning 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
9.80 ms
Qiskit
39.7 ms
Faster
PennyLane Lightning 4.0×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit
947 ms
Faster
PennyLane Lightning 5.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
8.20 s
Qiskit
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
3.25 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
4.77 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
27.7 ms
Qiskit
unsupported
Faster
–

Hamiltonian time evolution

Trotterised spin chain: ZZ + XX couplings with local fields

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
4.43 ms
Qiskit
3.80 ms
Faster
Qiskit 1.2×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
9.09 ms
Qiskit
10.1 ms
Faster
PennyLane Lightning 1.1×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
14.5 ms
Qiskit
24.5 ms
Faster
PennyLane Lightning 1.7×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
32.9 ms
Qiskit
259 ms
Faster
PennyLane Lightning 7.9×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
444 ms
Qiskit
6.72 s
Faster
PennyLane Lightning 15.1×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
16.1 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
4.63 ms
Qiskit
3.88 ms
Faster
Qiskit 1.2×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
9.47 ms
Qiskit
10.6 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit
25.7 ms
Faster
PennyLane Lightning 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
37.6 ms
Qiskit
262 ms
Faster
PennyLane Lightning 7.0×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
563 ms
Qiskit
7.22 s
Faster
PennyLane Lightning 12.8×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
21.9 s
Qiskit
skip
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
9.63 ms
Qiskit
10.7 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit
26.0 ms
Faster
PennyLane Lightning 1.7×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
45.6 ms
Qiskit
271 ms
Faster
PennyLane Lightning 6.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
795 ms
Qiskit
6.93 s
Faster
PennyLane Lightning 8.7×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
9.40 ms
Qiskit
10.4 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
14.8 ms
Qiskit
24.9 ms
Faster
PennyLane Lightning 1.7×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
38.4 ms
Qiskit
261 ms
Faster
PennyLane Lightning 6.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
588 ms
Qiskit
6.65 s
Faster
PennyLane Lightning 11.3×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
8.08 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
15.9 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
26.4 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
116 ms
Qiskit
unsupported
Faster
–

MaxCut on a ring

QAOA over a cycle graph

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.84 ms
Qiskit
2.01 ms
Faster
Qiskit 1.4×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.94 ms
Qiskit
4.71 ms
Faster
Qiskit 1.0×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
6.97 ms
Qiskit
9.95 ms
Faster
PennyLane Lightning 1.4×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
14.2 ms
Qiskit
105 ms
Faster
PennyLane Lightning 7.4×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
176 ms
Qiskit
2.86 s
Faster
PennyLane Lightning 16.3×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.43 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.02 ms
Qiskit
2.13 ms
Faster
Qiskit 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.23 ms
Qiskit
4.72 ms
Faster
Qiskit 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
7.65 ms
Qiskit
10.5 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
18.2 ms
Qiskit
107 ms
Faster
PennyLane Lightning 5.9×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
285 ms
Qiskit
2.81 s
Faster
PennyLane Lightning 9.9×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.2 s
Qiskit
skip
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.59 ms
Qiskit
5.70 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.47 ms
Qiskit
12.4 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
27.1 ms
Qiskit
121 ms
Faster
PennyLane Lightning 4.5×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
543 ms
Qiskit
2.83 s
Faster
PennyLane Lightning 5.2×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.43 ms
Qiskit
5.27 ms
Faster
Qiskit 1.0×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
7.92 ms
Qiskit
11.8 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
20.6 ms
Qiskit
113 ms
Faster
PennyLane Lightning 5.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
332 ms
Qiskit
2.84 s
Faster
PennyLane Lightning 8.6×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.73 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.69 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
14.9 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
61.5 ms
Qiskit
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
7.03 ms
Qiskit
4.86 ms
Faster
Qiskit 1.4×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
9.39 ms
Qiskit
11.1 ms
Faster
PennyLane Lightning 1.2×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.3 ms
Qiskit
113 ms
Faster
PennyLane Lightning 6.5×

MaxCut, arbitrary graph

QAOA over a random-edge graph

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
3.28 ms
Qiskit
2.23 ms
Faster
Qiskit 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
6.53 ms
Qiskit
5.90 ms
Faster
Qiskit 1.1×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
10.8 ms
Qiskit
15.3 ms
Faster
PennyLane Lightning 1.4×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
18.6 ms
Qiskit
150 ms
Faster
PennyLane Lightning 8.0×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
258 ms
Qiskit
4.43 s
Faster
PennyLane Lightning 17.2×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
9.47 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.46 ms
Qiskit
2.40 ms
Faster
Qiskit 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
6.83 ms
Qiskit
6.21 ms
Faster
Qiskit 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
11.4 ms
Qiskit
15.9 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
23.0 ms
Qiskit
150 ms
Faster
PennyLane Lightning 6.5×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
366 ms
Qiskit
4.30 s
Faster
PennyLane Lightning 11.8×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
15.3 s
Qiskit
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
6.49 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
12.6 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
21.5 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit
unsupported
Faster
–

Sampling / IQP

Diagonal phase circuit between Hadamard layers

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.97 ms
Qiskit
2.20 ms
Faster
Qiskit 1.3×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
5.19 ms
Qiskit
4.96 ms
Faster
Qiskit 1.0×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
7.50 ms
Qiskit
11.3 ms
Faster
PennyLane Lightning 1.5×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
15.5 ms
Qiskit
119 ms
Faster
PennyLane Lightning 7.7×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
206 ms
Qiskit
3.26 s
Faster
PennyLane Lightning 15.8×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
7.66 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
3.18 ms
Qiskit
2.33 ms
Faster
Qiskit 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.57 ms
Qiskit
5.29 ms
Faster
Qiskit 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
8.14 ms
Qiskit
11.7 ms
Faster
PennyLane Lightning 1.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
20.3 ms
Qiskit
121 ms
Faster
PennyLane Lightning 5.9×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
317 ms
Qiskit
3.09 s
Faster
PennyLane Lightning 9.8×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
13.6 s
Qiskit
skip
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane Lightning
5.87 ms
Qiskit
6.21 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane Lightning
8.96 ms
Qiskit
13.8 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane Lightning
28.1 ms
Qiskit
138 ms
Faster
PennyLane Lightning 4.9×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane Lightning
566 ms
Qiskit
3.26 s
Faster
PennyLane Lightning 5.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane Lightning
5.76 ms
Qiskit
6.01 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane Lightning
8.48 ms
Qiskit
13.0 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane Lightning
22.2 ms
Qiskit
134 ms
Faster
PennyLane Lightning 6.0×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane Lightning
363 ms
Qiskit
3.18 s
Faster
PennyLane Lightning 8.8×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.95 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
10.1 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.4 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
65.3 ms
Qiskit
unsupported
Faster
–

Quantum kernel feature map

Data-encoding circuit for kernel methods

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
4.26 ms
Qiskit
2.04 ms
Faster
Qiskit 2.1×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
5.92 ms
Qiskit
4.12 ms
Faster
Qiskit 1.4×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
12.9 ms
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
40.2 ms
Qiskit
64.7 ms
Faster
PennyLane Lightning 1.6×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
66.1 ms
Qiskit
132 ms
Faster
PennyLane Lightning 2.0×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
262 ms
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
301 ms
Qiskit
521 ms
Faster
PennyLane Lightning 1.7×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
501 ms
Qiskit
1.04 s
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.19 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.41 s
Qiskit
2.12 s
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.25 s
Qiskit
4.16 s
Faster
PennyLane Lightning 1.8×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
8.28 s
Qiskit
skip
Faster
–

Hardware-efficient VQE

RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.18 ms
Qiskit
1.61 ms
Faster
Qiskit 1.3×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
3.48 ms
Qiskit
3.51 ms
Faster
PennyLane Lightning 1.0×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
4.96 ms
Qiskit
7.81 ms
Faster
PennyLane Lightning 1.6×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
10.3 ms
Qiskit
74.9 ms
Faster
PennyLane Lightning 7.3×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
136 ms
Qiskit
1.90 s
Faster
PennyLane Lightning 14.0×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
4.80 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.41 ms
Qiskit
1.80 ms
Faster
Qiskit 1.3×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
3.81 ms
Qiskit
3.83 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
5.56 ms
Qiskit
8.17 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
14.5 ms
Qiskit
79.1 ms
Faster
PennyLane Lightning 5.4×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
248 ms
Qiskit
2.04 s
Faster
PennyLane Lightning 8.2×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
10.6 s
Qiskit
134 s
Faster
PennyLane Lightning 12.7×
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
4.69 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
7.64 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
11.5 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
54.3 ms
Qiskit
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
5.38 ms
Qiskit
3.68 ms
Faster
Qiskit 1.5×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.94 ms
Qiskit
7.98 ms
Faster
PennyLane Lightning 1.1×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
12.4 ms
Qiskit
77.5 ms
Faster
PennyLane Lightning 6.3×

Strongly-entangling ansatz

RX/RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane Lightning
2.43 ms
Qiskit
1.96 ms
Faster
Qiskit 1.2×
Expectation value, local observable, depth 3
Qubits
8
PennyLane Lightning
4.09 ms
Qiskit
4.37 ms
Faster
PennyLane Lightning 1.1×
Expectation value, local observable, depth 3
Qubits
12
PennyLane Lightning
5.88 ms
Qiskit
9.48 ms
Faster
PennyLane Lightning 1.6×
Expectation value, local observable, depth 3
Qubits
16
PennyLane Lightning
13.1 ms
Qiskit
101 ms
Faster
PennyLane Lightning 7.7×
Expectation value, local observable, depth 3
Qubits
20
PennyLane Lightning
177 ms
Qiskit
2.61 s
Faster
PennyLane Lightning 14.8×
Expectation value, local observable, depth 3
Qubits
24
PennyLane Lightning
6.45 s
Qiskit
skip
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane Lightning
2.65 ms
Qiskit
2.09 ms
Faster
Qiskit 1.3×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane Lightning
4.38 ms
Qiskit
4.65 ms
Faster
PennyLane Lightning 1.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane Lightning
6.44 ms
Qiskit
9.75 ms
Faster
PennyLane Lightning 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane Lightning
17.1 ms
Qiskit
96.2 ms
Faster
PennyLane Lightning 5.6×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane Lightning
290 ms
Qiskit
2.62 s
Faster
PennyLane Lightning 9.0×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane Lightning
12.3 s
Qiskit
skip
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane Lightning
5.82 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane Lightning
9.62 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane Lightning
15.2 ms
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane Lightning
77.4 ms
Qiskit
unsupported
Faster
–

Data re-uploading QML

Repeated encode-and-rotate classifier

WorkloadQubitsPennyLane LightningQiskitFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane Lightning
5.31 ms
Qiskit
3.65 ms
Faster
Qiskit 1.5×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane Lightning
7.58 ms
Qiskit
7.61 ms
Faster
PennyLane Lightning 1.0×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane Lightning
17.0 ms
Qiskit
72.6 ms
Faster
PennyLane Lightning 4.3×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane Lightning
53.2 ms
Qiskit
116 ms
Faster
PennyLane Lightning 2.2×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane Lightning
88.0 ms
Qiskit
246 ms
Faster
PennyLane Lightning 2.8×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane Lightning
354 ms
Qiskit
2.26 s
Faster
PennyLane Lightning 6.4×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane Lightning
398 ms
Qiskit
941 ms
Faster
PennyLane Lightning 2.4×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane Lightning
670 ms
Qiskit
1.94 s
Faster
PennyLane Lightning 2.9×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane Lightning
2.81 s
Qiskit
17.9 s
Faster
PennyLane Lightning 6.4×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane Lightning
1.80 s
Qiskit
3.74 s
Faster
PennyLane Lightning 2.1×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane Lightning
2.91 s
Qiskit
7.93 s
Faster
PennyLane Lightning 2.7×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane Lightning
11.3 s
Qiskit
72.3 s
Faster
PennyLane Lightning 6.4×
Gradient, local observable, depth 2
Qubits
8
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
12
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
16
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
8
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
12
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
16
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
8
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
12
PennyLane Lightning
unsupported
Qiskit
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
16
PennyLane Lightning
unsupported
Qiskit
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.