← Back to section · Open Source Projects
The Open Source Lineage of Quantum Simulators: Full Amplitude, Tensor Networks and Stabilizers
Simulating quantum circuits on classical computers follows three main technical routes, each corresponding to a family of open source projects. This article maps their lineage, use cases and the logic for choosing among them.
Why simulators form a “lineage”
Simulating a quantum circuit on a classical computer is fundamentally a fight against exponential storage growth: a general quantum state requires a number of stored values that grows exponentially with the qubit count. The route that confronts this head-on is full-amplitude simulation, which stores every amplitude of the state and updates them one by one; a few dozen qubits already demand supercomputer-class memory. But researchers found that many circuits of practical interest do not require paying the full price: circuits with limited entanglement can be represented at far lower cost with tensor networks, and circuits containing only specific gate families can be simulated exactly and efficiently with stabilizer methods. The simulator world thus split into three technical routes, each accumulating its own set of open source projects — a lineage one can navigate systematically.
This lineage matters greatly to users, because choosing the wrong route is not a matter of being somewhat slower but of feasible versus infeasible: running a hundred-qubit shallow circuit on a full-amplitude simulator exhausts memory immediately, while running an algorithm circuit full of arbitrary-angle rotations on a stabilizer simulator is simply outside its capability. Understanding the lineage before choosing a tool is the first lesson in using quantum simulators.
The three routes and their representative projects
The full-amplitude route is represented by the state-vector simulators bundled with major frameworks, such as Qiskit Aer and Cirq’s simulators, which win on generality and ease of use and are the default choice for algorithm development and debugging. The same route also includes specialized high-performance projects that exploit GPUs and distributed memory to push the simulatable qubit count higher; these are usually products of national laboratories or university teams, released as open source for supercomputing users. Tensor-network projects excel at circuits with many qubits but limited entanglement, appearing in scenarios such as re-checking quantum supremacy claims and large-scale testing of variational algorithms; some tensor network libraries from the general scientific computing ecosystem are also borrowed by quantum researchers. The stabilizer route is represented by Stim, discussed in the previous article, whose speed advantage is irreplaceable in error-correction research, alongside several stabilizer simulators aimed at teaching and small-scale exact simulation.
Notably, the three routes are not completely sealed off from one another. Some newer projects attempt hybrid strategies — contracting part of a circuit with tensor networks and advancing another part with state vectors — while others provide a unified interface letting users switch backends behind the same circuit description. For users, this hybridization lowers the cost of trial and error: validating on small-scale full-amplitude results first, then switching to a scalable route for large runs, is a common research pattern.
The special role of open source among simulators
Simulators are among the most correctness-sensitive parts of quantum software: their outputs are probabilities and expectation values, and errors are hard to spot at a glance. Openness here is therefore not merely a distribution method but a trust mechanism — with algorithm implementations public, anyone can cross-check with analytically solvable small examples or with an independent simulator implementation. The community in fact does exactly this: mainstream simulators routinely serve as references for each other, and a new simulator project is normally expected to show agreement with existing implementations on standard circuits.
A second role is spreading performance methodology. Simulator speed comes from a mass of engineering techniques — memory layout, parallelization strategy, gate fusion, sparse representations — which, locked inside commercial software, could only be used for a fee, but written into open source code and papers become the common wealth of the whole field. Many later projects improved on existing open implementations, and this accumulation is an important reason simulator performance has advanced steadily over the past decade. The other side of the coin: academically oriented simulator projects easily stagnate when their authors graduate or funding ends, so maintenance status should factor into any choice.
Also worth mentioning is how simulators combine with cloud services. Some open source simulators are hosted by cloud platforms as online services, letting users run large cases without configuring a high-performance computing environment; other teams package simulators as container images, making it easy to reproduce the same runtime environment on institutional clusters. Such distribution lowers the barrier to use, but raises new questions: whether numerical results from the cloud version strictly match the local version, and whether random seeds and parallelization strategies are reproducible, both need users’ careful checking. Fortunately, openness helps again here — as long as code and versions are inspectable, discrepancies can be traced, and the scientific validity of simulation results does not depend on unconditional trust in a particular provider.
Selection logic and summary
A concise selection order. Step one: look at gate types — if the circuit contains only stabilizer operations, prefer the stabilizer route. Step two: look at entanglement and circuit depth — with many qubits but limited entanglement and shallow depth, tensor networks are often the only feasible option. Step three: look at scale and precision needs — with a few dozen qubits and a need for arbitrary gates and noise models, the full-amplitude simulators bundled with frameworks are the most convenient; when noise simulation is required, also confirm that the simulator’s noise representation matches your model. Step four: look at ecosystem fit — whether it connects directly with the framework you use and whether its result formats suit your downstream analysis.
Simulators will not lose their value as real machines improve — quite the opposite: the stronger real machines become, the more simulators are needed to provide references, validation and training data. Understanding this lineage map amounts to having the basic map for studying quantum computing in the classical world. The next article turns to the other end of the toolchain: open source compiler and transpiler projects that translate high-level circuits into hardware instructions.
Tags: Quantum SimulatorsTensor NetworksStabilizer SimulationOpen Source