MaxCut, arbitrary graph: which simulator is fastest
QAOA over a random-edge graph
8 simulators ran this circuit at 4 to 24 qubits, 16 workloads in all. Qulacs was the fastest in 9, Google qsim in 6 and PennyLane Lightning in 1. The tables below hold every time as it was measured, with the fastest in each row marked. Open this circuit in the interactive tool to see the hardware that could run it and what a run would cost.
Expectation value, local observable, depth 3
Time per run, by qubit count
| Qubits | PennyLane | PennyLane Lightning | Qiskit | Qiskit Aer | Qiskit Aer (MPS) | Google qsim | Qulacs | TensorCircuit |
|---|---|---|---|---|---|---|---|---|
4 qubits | PennyLane 6.19 ms | PennyLane Lightning 3.28 ms | Qiskit 2.23 ms | Qiskit Aer 1.76 ms | Qiskit Aer (MPS) 2.13 ms | Google qsim 2.89 ms | Qulacs 71.4 µs | TensorCircuit error |
8 qubits | PennyLane 14.4 ms | PennyLane Lightning 6.53 ms | Qiskit 5.90 ms | Qiskit Aer 3.41 ms | Qiskit Aer (MPS) 5.01 ms | Google qsim 5.89 ms | Qulacs 188 µs | TensorCircuit error |
12 qubits | PennyLane 28.0 ms | PennyLane Lightning 10.8 ms | Qiskit 15.3 ms | Qiskit Aer 8.53 ms | Qiskit Aer (MPS) 192 ms | Google qsim 9.80 ms | Qulacs 1.51 ms | TensorCircuit error |
16 qubits | PennyLane 115 ms | PennyLane Lightning 18.6 ms | Qiskit 150 ms | Qiskit Aer 36.5 ms | Qiskit Aer (MPS) 4.03 s | Google qsim 12.7 ms | Qulacs 25.8 ms | TensorCircuit error |
20 qubits | PennyLane 2.79 s | PennyLane Lightning 258 ms | Qiskit 4.43 s | Qiskit Aer 678 ms | Qiskit Aer (MPS) skip | Google qsim 65.3 ms | Qulacs 588 ms | TensorCircuit error |
24 qubits | PennyLane skip | PennyLane Lightning 9.47 s | Qiskit skip | Qiskit Aer 13.8 s | Qiskit Aer (MPS) skip | Google qsim 2.04 s | Qulacs 16.1 s | TensorCircuit error |
Expectation value, global observable (all_z), depth 3
Time per run, by qubit count
| Qubits | PennyLane | PennyLane Lightning | Qiskit | Qiskit Aer | Qiskit Aer (MPS) | Google qsim | Qulacs | TensorCircuit |
|---|---|---|---|---|---|---|---|---|
4 qubits | PennyLane 6.57 ms | PennyLane Lightning 3.46 ms | Qiskit 2.40 ms | Qiskit Aer 1.83 ms | Qiskit Aer (MPS) 2.22 ms | Google qsim 2.95 ms | Qulacs 81.0 µs | TensorCircuit error |
8 qubits | PennyLane 15.4 ms | PennyLane Lightning 6.83 ms | Qiskit 6.21 ms | Qiskit Aer 3.68 ms | Qiskit Aer (MPS) 5.54 ms | Google qsim 6.17 ms | Qulacs 239 µs | TensorCircuit error |
12 qubits | PennyLane 30.3 ms | PennyLane Lightning 11.4 ms | Qiskit 15.9 ms | Qiskit Aer 9.34 ms | Qiskit Aer (MPS) 208 ms | Google qsim 10.0 ms | Qulacs 2.39 ms | TensorCircuit error |
16 qubits | PennyLane 126 ms | PennyLane Lightning 23.0 ms | Qiskit 150 ms | Qiskit Aer 45.3 ms | Qiskit Aer (MPS) 5.23 s | Google qsim 13.8 ms | Qulacs 46.3 ms | TensorCircuit error |
20 qubits | PennyLane 3.07 s | PennyLane Lightning 366 ms | Qiskit 4.30 s | Qiskit Aer 820 ms | Qiskit Aer (MPS) timeout | Google qsim 79.9 ms | Qulacs 1.00 s | TensorCircuit error |
24 qubits | PennyLane skip | PennyLane Lightning 15.3 s | Qiskit skip | Qiskit Aer 16.7 s | Qiskit Aer (MPS) skip | Google qsim 2.44 s | Qulacs 24.2 s | TensorCircuit error |
Gradient, local observable, depth 3
Time per run, by qubit count
| Qubits | PennyLane | PennyLane Lightning | Qiskit | Qiskit Aer | Qiskit Aer (MPS) | Google qsim | Qulacs | TensorCircuit |
|---|---|---|---|---|---|---|---|---|
4 qubits | PennyLane 26.9 ms | PennyLane Lightning 6.49 ms | Qiskit unsupported | Qiskit Aer unsupported | Qiskit Aer (MPS) unsupported | Google qsim unsupported | Qulacs 287 µs | TensorCircuit error |
8 qubits | PennyLane 63.3 ms | PennyLane Lightning 12.6 ms | Qiskit unsupported | Qiskit Aer unsupported | Qiskit Aer (MPS) unsupported | Google qsim unsupported | Qulacs 873 µs | TensorCircuit error |
12 qubits | PennyLane 170 ms | PennyLane Lightning 21.5 ms | Qiskit unsupported | Qiskit Aer unsupported | Qiskit Aer (MPS) unsupported | Google qsim unsupported | Qulacs 8.07 ms | TensorCircuit error |
16 qubits | PennyLane 1.08 s | PennyLane Lightning 77.4 ms | Qiskit unsupported | Qiskit Aer unsupported | Qiskit Aer (MPS) unsupported | Google qsim unsupported | Qulacs 148 ms | TensorCircuit error |
Which quantum computers can run it
At depth 3, 1,000 shots
| Quantum computer | Can run it up to | Borderline up to | Estimated cost at that size |
|---|---|---|---|
| Can run it up to 4 qubits | Borderline up to 32 qubits | Estimated cost at that size $200.30–$600.90 via AWS Braket | |
| Can run it up to 16 qubits | Borderline up to 32 qubits | Estimated cost at that size $200.30–$600.90 via AWS Braket | |
| Can run it up to 4 qubits | Borderline up to 12 qubits | Estimated cost at that size $23.80–$71.40 via AWS Braket | |
| Can run it up to 64 qubits | Borderline up to 96 qubits | Estimated cost at that size Not priced this vendor publishes no rate card | |
| Can run it up to 48 qubits | Borderline up to – | Estimated cost at that size Not priced this vendor publishes no rate card | |
| Can run it up to 48 qubits | Borderline up to – | Estimated cost at that size Not priced this vendor publishes no rate card | |
| Can run it up to – | Borderline up to – | Estimated cost at that size – | |
| Can run it up to – | Borderline up to – | Estimated cost at that size – | |
| Can run it up to – | Borderline up to – | Estimated cost at that size – | |
| Can run it up to 12 qubits | Borderline up to 48 qubits | Estimated cost at that size from $0.015 via IBM Quantum. 0.01s at maximum throughput, so this is a floor | |
| Can run it up to 8 qubits | Borderline up to 48 qubits | Estimated cost at that size from $0.421 via IBM Quantum. 0.26s at maximum throughput, so this is a floor | |
| Can run it up to 8 qubits | Borderline up to 32 qubits | Estimated cost at that size from $0.421 via IBM Quantum. 0.26s at maximum throughput, so this is a floor | |
| Can run it up to – | Borderline up to 12 qubits | Estimated cost at that size $0.725–$2.17 via AWS Braket | |
| Can run it up to 8 qubits | Borderline up to 32 qubits | Estimated cost at that size $1.90–$5.70 via AWS Braket | |
| Can run it up to 4 qubits | Borderline up to 20 qubits | Estimated cost at that size $1.75–$5.25 via AWS Braket |
Sizes are the grid's own: 4, 8, 12, 16, 20, 24, 32, 48, 64, 96, 128, 156 qubits. A device can run a circuit when a clean run is more likely than not, and is borderline when it is better than one in fifty. The cost is for one run of 1,000 shots at the largest size in the row, as a band and not a quote.
The simulators
Each one across every circuit family
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.