corner
corner

Phys. Rev. A 70, 052328 (2004) [14 pages]

Improved simulation of stabilizer circuits

Download: PDF (152 kB) Buy this article Export: BibTeX or EndNote (RIS)

Scott Aaronson*
Computer Science Department, University of California, Berkeley, California 94720, USA

Daniel Gottesman
Perimeter Institute, Waterloo, Canada N2L 2Y5

Received 25 June 2004; published 30 November 2004

The Gottesman-Knill theorem says that a stabilizer circuit—that is, a quantum circuit consisting solely of controlled-NOT (CNOT), Hadamard, and phase gates—can be simulated efficiently on a classical computer. This paper improves that theorem in several directions. First, by removing the need for Gaussian elimination, we make the simulation algorithm much faster at the cost of a factor of 2 increase in the number of bits needed to represent a state. We have implemented the improved algorithm in a freely available program called CHP (CNOT-Hadamard-phase), which can handle thousands of qubits easily. Second, we show that the problem of simulating stabilizer circuits is complete for the classical complexity class L, which means that stabilizer circuits are probably not even universal for classical computation. Third, we give efficient algorithms for computing the inner product between two stabilizer states, putting any n-qubit stabilizer circuit into a “canonical form” that requires at most O(n2∕log n) gates, and other useful tasks. Fourth, we extend our simulation algorithm to circuits acting on mixed states, circuits containing a limited number of nonstabilizer gates, and circuits acting on general tensor-product initial states but containing only a limited number of measurements.

© 2004 The American Physical Society

URL:
http://link.aps.org/doi/10.1103/PhysRevA.70.052328
DOI:
10.1103/PhysRevA.70.052328
PACS:
03.67.Lx, 03.67.Pp, 02.70.−c

*Present address: Institute for Advanced Study, Princeton, NY 08540, USA. Electronic address: aaronson@ias.edu

Electronic address: dgottesman@perimeterinstitute.ca