PennyLane vs Google qsim

The same circuits, one host

PennyLane and Google qsim both finished 119 of the 175 workloads measured here. PennyLane was faster in 10 of them and Google qsim in 109. At the median Google qsim was 2.7× faster.

By circuit family

Who was faster where

Circuit familyWorkloads both finishedPennyLane faster inGoogle qsim faster inFaster at the median
Workloads both finished
10
PennyLane faster in
0
Google qsim faster in
10
Faster at the median
Google qsim 2.4×
Workloads both finished
18
PennyLane faster in
0
Google qsim faster in
18
Faster at the median
Google qsim 3.4×
Workloads both finished
21
PennyLane faster in
0
Google qsim faster in
21
Faster at the median
Google qsim 2.6×
Workloads both finished
10
PennyLane faster in
0
Google qsim faster in
10
Faster at the median
Google qsim 2.9×
Workloads both finished
18
PennyLane faster in
0
Google qsim faster in
18
Faster at the median
Google qsim 2.9×
Workloads both finished
8
PennyLane faster in
5
Google qsim faster in
3
Faster at the median
PennyLane 1.2×
Workloads both finished
13
PennyLane faster in
0
Google qsim faster in
13
Faster at the median
Google qsim 2.0×
Workloads both finished
10
PennyLane faster in
0
Google qsim faster in
10
Faster at the median
Google qsim 1.9×
Workloads both finished
11
PennyLane faster in
5
Google qsim faster in
6
Faster at the median
Google qsim 2.3×

Local circuit dynamics

Brickwork nearest-neighbour layers: lattice models, quench dynamics

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
2.07 ms
Google qsim
1.19 ms
Faster
Google qsim 1.7×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
3.73 ms
Google qsim
2.03 ms
Faster
Google qsim 1.8×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
6.19 ms
Google qsim
2.93 ms
Faster
Google qsim 2.1×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
30.3 ms
Google qsim
4.20 ms
Faster
Google qsim 7.2×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
697 ms
Google qsim
18.9 ms
Faster
Google qsim 36.8×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
555 ms
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
2.48 ms
Google qsim
1.28 ms
Faster
Google qsim 1.9×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
4.76 ms
Google qsim
2.23 ms
Faster
Google qsim 2.1×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
8.07 ms
Google qsim
3.12 ms
Faster
Google qsim 2.6×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
43.5 ms
Google qsim
5.16 ms
Faster
Google qsim 8.4×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
891 ms
Google qsim
33.4 ms
Faster
Google qsim 26.7×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
934 ms
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane
10.7 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
22.3 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
43.4 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
268 ms
Google qsim
unsupported
Faster
–

Hamiltonian time evolution

Trotterised spin chain: ZZ + XX couplings with local fields

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
9.46 ms
Google qsim
4.11 ms
Faster
Google qsim 2.3×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
23.2 ms
Google qsim
8.72 ms
Faster
Google qsim 2.7×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
43.8 ms
Google qsim
13.3 ms
Faster
Google qsim 3.3×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
208 ms
Google qsim
19.2 ms
Faster
Google qsim 10.8×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
4.57 s
Google qsim
51.8 ms
Faster
Google qsim 88.3×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
1.04 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
9.82 ms
Google qsim
4.18 ms
Faster
Google qsim 2.4×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
24.4 ms
Google qsim
8.90 ms
Faster
Google qsim 2.7×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
46.3 ms
Google qsim
13.6 ms
Faster
Google qsim 3.4×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
223 ms
Google qsim
19.9 ms
Faster
Google qsim 11.2×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
4.86 s
Google qsim
69.5 ms
Faster
Google qsim 69.9×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
1.46 s
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane
25.0 ms
Google qsim
9.13 ms
Faster
Google qsim 2.7×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane
46.9 ms
Google qsim
14.1 ms
Faster
Google qsim 3.3×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane
236 ms
Google qsim
23.0 ms
Faster
Google qsim 10.2×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane
5.11 s
Google qsim
158 ms
Faster
Google qsim 32.3×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane
23.7 ms
Google qsim
9.07 ms
Faster
Google qsim 2.6×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane
44.4 ms
Google qsim
14.0 ms
Faster
Google qsim 3.2×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane
211 ms
Google qsim
20.7 ms
Faster
Google qsim 10.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane
4.76 s
Google qsim
95.0 ms
Faster
Google qsim 50.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane
29.5 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
72.7 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
212 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
1.64 s
Google qsim
unsupported
Faster
–

MaxCut on a ring

QAOA over a cycle graph

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
5.17 ms
Google qsim
2.67 ms
Faster
Google qsim 1.9×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
10.6 ms
Google qsim
5.15 ms
Faster
Google qsim 2.1×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
17.8 ms
Google qsim
7.52 ms
Faster
Google qsim 2.4×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
82.9 ms
Google qsim
11.0 ms
Faster
Google qsim 7.5×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
1.82 s
Google qsim
41.3 ms
Faster
Google qsim 44.1×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
1.07 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
5.56 ms
Google qsim
2.74 ms
Faster
Google qsim 2.0×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
11.3 ms
Google qsim
5.23 ms
Faster
Google qsim 2.2×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
19.9 ms
Google qsim
7.74 ms
Faster
Google qsim 2.6×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
95.7 ms
Google qsim
12.0 ms
Faster
Google qsim 8.0×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
2.05 s
Google qsim
55.1 ms
Faster
Google qsim 37.1×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
1.48 s
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane
12.7 ms
Google qsim
5.68 ms
Faster
Google qsim 2.2×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane
22.7 ms
Google qsim
8.49 ms
Faster
Google qsim 2.7×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane
116 ms
Google qsim
15.9 ms
Faster
Google qsim 7.3×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane
2.39 s
Google qsim
151 ms
Faster
Google qsim 15.8×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane
11.7 ms
Google qsim
5.52 ms
Faster
Google qsim 2.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane
20.2 ms
Google qsim
8.38 ms
Faster
Google qsim 2.4×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane
93.4 ms
Google qsim
13.2 ms
Faster
Google qsim 7.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane
1.88 s
Google qsim
87.2 ms
Faster
Google qsim 21.6×
Gradient, local observable, depth 3
Qubits
4
PennyLane
23.6 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
48.6 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
113 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
764 ms
Google qsim
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane
10.9 ms
Google qsim
5.15 ms
Faster
Google qsim 2.1×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane
19.1 ms
Google qsim
7.61 ms
Faster
Google qsim 2.5×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane
88.1 ms
Google qsim
12.0 ms
Faster
Google qsim 7.4×

MaxCut, arbitrary graph

QAOA over a random-edge graph

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
6.19 ms
Google qsim
2.89 ms
Faster
Google qsim 2.1×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
14.4 ms
Google qsim
5.89 ms
Faster
Google qsim 2.4×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
28.0 ms
Google qsim
9.80 ms
Faster
Google qsim 2.9×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
115 ms
Google qsim
12.7 ms
Faster
Google qsim 9.0×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
2.79 s
Google qsim
65.3 ms
Faster
Google qsim 42.7×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
2.04 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
6.57 ms
Google qsim
2.95 ms
Faster
Google qsim 2.2×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
15.4 ms
Google qsim
6.17 ms
Faster
Google qsim 2.5×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
30.3 ms
Google qsim
10.0 ms
Faster
Google qsim 3.0×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
126 ms
Google qsim
13.8 ms
Faster
Google qsim 9.1×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
3.07 s
Google qsim
79.9 ms
Faster
Google qsim 38.4×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
2.44 s
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane
26.9 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
63.3 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
170 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
1.08 s
Google qsim
unsupported
Faster
–

Sampling / IQP

Diagonal phase circuit between Hadamard layers

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
5.68 ms
Google qsim
2.70 ms
Faster
Google qsim 2.1×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
11.3 ms
Google qsim
5.02 ms
Faster
Google qsim 2.3×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
19.7 ms
Google qsim
7.41 ms
Faster
Google qsim 2.7×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
95.5 ms
Google qsim
10.8 ms
Faster
Google qsim 8.9×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
2.15 s
Google qsim
43.8 ms
Faster
Google qsim 49.1×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
1.11 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
6.14 ms
Google qsim
2.73 ms
Faster
Google qsim 2.2×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
12.6 ms
Google qsim
5.21 ms
Faster
Google qsim 2.4×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
21.6 ms
Google qsim
7.69 ms
Faster
Google qsim 2.8×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
105 ms
Google qsim
11.8 ms
Faster
Google qsim 8.9×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
2.48 s
Google qsim
55.6 ms
Faster
Google qsim 44.6×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
1.50 s
Faster
–
Expectation value, global observable (pauli_mix), depth 3
Qubits
8
PennyLane
13.7 ms
Google qsim
5.64 ms
Faster
Google qsim 2.4×
Expectation value, global observable (pauli_mix), depth 3
Qubits
12
PennyLane
24.5 ms
Google qsim
8.40 ms
Faster
Google qsim 2.9×
Expectation value, global observable (pauli_mix), depth 3
Qubits
16
PennyLane
127 ms
Google qsim
15.6 ms
Faster
Google qsim 8.2×
Expectation value, global observable (pauli_mix), depth 3
Qubits
20
PennyLane
2.74 s
Google qsim
147 ms
Faster
Google qsim 18.7×
Expectation value, global observable (zz_sum), depth 3
Qubits
8
PennyLane
12.8 ms
Google qsim
5.43 ms
Faster
Google qsim 2.4×
Expectation value, global observable (zz_sum), depth 3
Qubits
12
PennyLane
22.2 ms
Google qsim
8.08 ms
Faster
Google qsim 2.7×
Expectation value, global observable (zz_sum), depth 3
Qubits
16
PennyLane
108 ms
Google qsim
13.3 ms
Faster
Google qsim 8.1×
Expectation value, global observable (zz_sum), depth 3
Qubits
20
PennyLane
2.21 s
Google qsim
88.2 ms
Faster
Google qsim 25.1×
Gradient, local observable, depth 3
Qubits
4
PennyLane
20.1 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
43.1 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
112 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
742 ms
Google qsim
unsupported
Faster
–

Quantum kernel feature map

Data-encoding circuit for kernel methods

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane
8.00 ms
Google qsim
2.02 ms
Faster
Google qsim 4.0×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane
12.7 ms
Google qsim
2.92 ms
Faster
Google qsim 4.3×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane
skip
Google qsim
5.13 ms
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane
10.6 ms
Google qsim
64.6 ms
Faster
PennyLane 6.1×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane
76.1 ms
Google qsim
93.4 ms
Faster
PennyLane 1.2×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane
skip
Google qsim
165 ms
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane
30.3 ms
Google qsim
521 ms
Faster
PennyLane 17.2×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane
652 ms
Google qsim
739 ms
Faster
PennyLane 1.1×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane
skip
Google qsim
1.32 s
Faster
–
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane
110 ms
Google qsim
2.10 s
Faster
PennyLane 19.1×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane
7.92 s
Google qsim
2.98 s
Faster
Google qsim 2.7×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane
skip
Google qsim
5.29 s
Faster
–

Hardware-efficient VQE

RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
3.43 ms
Google qsim
2.21 ms
Faster
Google qsim 1.5×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
6.83 ms
Google qsim
4.06 ms
Faster
Google qsim 1.7×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
12.0 ms
Google qsim
5.87 ms
Faster
Google qsim 2.0×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
61.6 ms
Google qsim
8.94 ms
Faster
Google qsim 6.9×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
1.41 s
Google qsim
40.4 ms
Faster
Google qsim 35.0×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
1.09 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
3.91 ms
Google qsim
2.28 ms
Faster
Google qsim 1.7×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
7.93 ms
Google qsim
4.17 ms
Faster
Google qsim 1.9×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
14.0 ms
Google qsim
6.29 ms
Faster
Google qsim 2.2×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
72.0 ms
Google qsim
10.0 ms
Faster
Google qsim 7.2×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
1.54 s
Google qsim
52.9 ms
Faster
Google qsim 29.1×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
1.51 s
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane
19.4 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
38.7 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
82.6 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
462 ms
Google qsim
unsupported
Faster
–
Statevector, global observable (all_z), depth 3
Qubits
8
PennyLane
6.89 ms
Google qsim
4.13 ms
Faster
Google qsim 1.7×
Statevector, global observable (all_z), depth 3
Qubits
12
PennyLane
12.1 ms
Google qsim
5.93 ms
Faster
Google qsim 2.0×
Statevector, global observable (all_z), depth 3
Qubits
16
PennyLane
62.8 ms
Google qsim
9.69 ms
Faster
Google qsim 6.5×

Strongly-entangling ansatz

RX/RY/RZ layers with a CNOT ring

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, local observable, depth 3
Qubits
4
PennyLane
4.02 ms
Google qsim
2.87 ms
Faster
Google qsim 1.4×
Expectation value, local observable, depth 3
Qubits
8
PennyLane
7.98 ms
Google qsim
5.35 ms
Faster
Google qsim 1.5×
Expectation value, local observable, depth 3
Qubits
12
PennyLane
14.3 ms
Google qsim
7.79 ms
Faster
Google qsim 1.8×
Expectation value, local observable, depth 3
Qubits
16
PennyLane
70.1 ms
Google qsim
11.4 ms
Faster
Google qsim 6.1×
Expectation value, local observable, depth 3
Qubits
20
PennyLane
1.67 s
Google qsim
41.6 ms
Faster
Google qsim 40.2×
Expectation value, local observable, depth 3
Qubits
24
PennyLane
skip
Google qsim
1.05 s
Faster
–
Expectation value, global observable (all_z), depth 3
Qubits
4
PennyLane
4.44 ms
Google qsim
2.98 ms
Faster
Google qsim 1.5×
Expectation value, global observable (all_z), depth 3
Qubits
8
PennyLane
8.95 ms
Google qsim
5.57 ms
Faster
Google qsim 1.6×
Expectation value, global observable (all_z), depth 3
Qubits
12
PennyLane
16.0 ms
Google qsim
8.01 ms
Faster
Google qsim 2.0×
Expectation value, global observable (all_z), depth 3
Qubits
16
PennyLane
78.2 ms
Google qsim
12.3 ms
Faster
Google qsim 6.4×
Expectation value, global observable (all_z), depth 3
Qubits
20
PennyLane
2.73 s
Google qsim
59.3 ms
Faster
Google qsim 46.0×
Expectation value, global observable (all_z), depth 3
Qubits
24
PennyLane
skip
Google qsim
1.44 s
Faster
–
Gradient, local observable, depth 3
Qubits
4
PennyLane
29.0 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
8
PennyLane
58.9 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
12
PennyLane
125 ms
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 3
Qubits
16
PennyLane
538 ms
Google qsim
unsupported
Faster
–

Data re-uploading QML

Repeated encode-and-rotate classifier

WorkloadQubitsPennyLaneGoogle qsimFaster
Expectation value, global observable (all_z), depth 2
Qubits
8
PennyLane
10.4 ms
Google qsim
3.99 ms
Faster
Google qsim 2.6×
Expectation value, global observable (all_z), depth 2
Qubits
12
PennyLane
18.2 ms
Google qsim
5.75 ms
Faster
Google qsim 3.2×
Expectation value, global observable (all_z), depth 2
Qubits
16
PennyLane
81.9 ms
Google qsim
9.07 ms
Faster
Google qsim 9.0×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
8
PennyLane
14.7 ms
Google qsim
128 ms
Faster
PennyLane 8.7×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
12
PennyLane
121 ms
Google qsim
186 ms
Faster
PennyLane 1.5×
Expectation value, global observable (all_z), depth 2, batch of 32
Qubits
16
PennyLane
8.25 s
Google qsim
289 ms
Faster
Google qsim 28.6×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
8
PennyLane
53.8 ms
Google qsim
1.02 s
Faster
PennyLane 19.0×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
12
PennyLane
1.08 s
Google qsim
1.47 s
Faster
PennyLane 1.4×
Expectation value, global observable (all_z), depth 2, batch of 256
Qubits
16
PennyLane
71.1 s
Google qsim
2.35 s
Faster
Google qsim 30.2×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
8
PennyLane
200 ms
Google qsim
4.09 s
Faster
PennyLane 20.4×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
12
PennyLane
13.7 s
Google qsim
5.89 s
Faster
Google qsim 2.3×
Expectation value, global observable (all_z), depth 2, batch of 1024
Qubits
16
PennyLane
skip
Google qsim
9.24 s
Faster
–
Gradient, local observable, depth 2
Qubits
8
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
12
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2
Qubits
16
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
8
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
12
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 32
Qubits
16
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
8
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
12
PennyLane
unsupported
Google qsim
unsupported
Faster
–
Gradient, local observable, depth 2, batch of 256
Qubits
16
PennyLane
skip
Google qsim
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.