{"repo":"quantumlib/qsim","free":true,"listed":false,"github":"https://github.com/quantumlib/qsim","clone":"git clone https://github.com/quantumlib/qsim.git","description":"Fast C++ and Python library for state-vector simulation of quantum circuits.","language":"C++","stars":689,"topics":["quantum-computing","quantum-simulator","nisq","quantum-circuit-simulator","algorithms","cpp","google-quantum","python","quantum","quantum-algorithms"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"qsim High-performance quantum circuit simulator for C++ and Python. Features &ndash; Usage &ndash; Documentation &ndash; Citing qsim &ndash; Contact qsim is a state-vector simulator for quantum circuits. Also known as a Schrödinger simulator, it represents a quantum state as a vector of complex-valued amplitudes (a state vector ) and applies matrix-vector multiplication to simulate transformations that evolve the state over time. qsim was used to produce landmark cross-entropy benchmark results published in 2019 (Arute et al., \"Quantum Supremacy Using a Programmable Superconducting Processor\", Nature vol.&nbsp;574, 2019). Features Being a full state-vector simulator means that qsim computes all the 2 n amplitudes of the state vector, where n is the number of qubits. The total runtime is proportional to g2 n , where g is the number of 2-qubit gates. To speed up simulation, qsim uses gate fusion (Smelyanskiy et al., arXiv:1601.07195, 2016; Häner and Steiger, arXiv:1704.01127, 2017), single-precision arithmetic, AVX/FMA instructions for vectorization, and OpenMP for multithreading (on hardware that provides those features). qsim is highly tuned to take advantage of vector arithmetic instruction sets and multithreading on computers that provide them, as well as GPUs when available. qsim includes a Cirq interface ( qsimcirq ) and can be used to simulate quantum circuits written in Cirq. Usage C++ usage The code is designed as a library that can be included in users' applications. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/quantumlib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/quantumlib/qsim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}