qsengine 1.1.1 documentation
qsengine simulates quantum circuits from Python. Start with installation and your first circuit, read the user guide for how circuits run, and use the API reference when you need the exact signature of a method.
Getting started
- Installation and first circuit
Install the wheel, build a Bell state, read the counts.
- Examples
Complete programs with their real output.
Quantum physics
- Qubits and bra-ket notation
What a qubit is and how to write its state.
- Measurement
Amplitudes, probabilities, shots and phase.
- The Bloch sphere
One qubit as a point on a sphere; gates as rotations.
- Many qubits
Tensor products, 2ⁿ amplitudes and bit order.
- Entanglement
Bell states, step by step, and why they cannot be split.
- The Deutsch-Jozsa algorithm
A whole quantum algorithm, built and run with qsengine.
User guide
- Gates
Every gate, the method that applies it, and your own unitaries.
- Running circuits
Shots and counts, exact states, seeds and bit order.
- CPU and GPU backends
Precision, hardware and how auto chooses.
Reference
- API reference
QuantumCircuit, every method, every error.
- Benchmarks
qsengine against pure Python and Qiskit Aer, up to 22 qubits.
Help
- Questions
Short answers to common questions.
- Release notes
What is in version 1.1.1.