Gate decomposition
Pick a device's native gates and decompose any gate or unitary into them, with the fewest gates.
Open-source software for compiling and simulating quantum programs, fast, on your own machine.
pip install qevedo
Pick a device's native gates and decompose any gate or unitary into them, with the fewest gates.
Map a circuit onto cores joined by quantum links, compare HQA with other mappers, and watch qubits teleport.
The Qevedo simulator, a fast quantum circuit simulator in Rust: state vector, stabilizer (with Pauli noise and Stim's circuit format), MPS and near-Clifford (also with Pauli noise) methods, chosen per circuit. Runs inside Qiskit as a backend, sampler and estimator.
QCC, a hardware-agnostic quantum circuit compiler. OpenQASM 2 and 3 in and out, optimized for a device profile.
An OpenQASM 2 and 3 parser and semantic checker for Python.
The simulator and the compiler in one install.
from qevedo.compiler import compile_source, emit_qasm
from qevedo.simulator import run
compiled = compile_source(open("circuit.qasm").read())
result = run(emit_qasm(compiled), shots=1000)
print(result.counts, result.backend)
MPP) with correlated errors 4.0–6.9× faster than Stim on a toric-code memory; noisy Clifford+T circuits sampled exactly, 1.2–16× faster than Clifft on all 10 benchmark cases; expectation values of IBM's 127-qubit utility circuit 15–117× faster than IBM's pauli-prop; inside Qiskit, 6.6–32× faster than Qiskit Aer through the same backend.run calls.All benchmarks, with charts and the scripts to reproduce them →
The methods behind them →