Calibrated noise from real quantum computers, as one file that works in Qiskit, Cirq, PennyLane and Stim.
Website · Install · Quickstart · 25 devices · Docs · Changelog
Load a device by name. Then simulate your circuits under the noise that the device had on a given
day. Pin the fingerprint of the profile, and anyone can rerun your simulations with the same
noise. Each export reports what it reproduces exactly, what it approximates and what it leaves
out. nv compare reads counts measured on the device and fits factors that scale the profile's
errors to match the counts.
To try NoiseVault without an install, use uv:
uvx --from noisevault nv show ibm_fez
Install
In a virtual environment with Python 3.11 to 3.14, install NoiseVault from PyPI:
pip install "noisevault[qiskit]"
A virtual environment from uv venv has no pip. In that environment, use uv pip install:
uv pip install "noisevault[qiskit]"
For the newest development version, install from GitHub:
pip install "noisevault[qiskit] @ git+https://github.com/dvgyl/noisevault"
For another framework, use cirq, pennylane or stim in place of qiskit. For several
frameworks, name them all, as in noisevault[qiskit,stim]. For every extra, use all. In a uv
project, uv add takes the same quoted argument. nv doctor lists what is installed.
Quickstart
Run a GHZ circuit under the calibrated noise of IBM Fez. ibm_fez is a bundled profile, so this
example runs offline.
from qiskit import QuantumCircuit, transpile
import noisevault as nv
sim = nv.load("ibm_fez").to_qiskit()
ghz = QuantumCircuit(3)
ghz.h(0)
ghz.cx(0, 1)
ghz.cx(1, 2)
ghz.measure_all()
compiled = transpile(ghz, sim, seed_transpiler=1)
counts = sim.run(compiled, seed_simulator=1).result().get_counts()
print(counts)
# {'111': 510, '011': 8, '101': 6, '100': 4, '001': 1, '110': 6, '010': 2, '000': 487}
print(sim.report.summary())
# NoiseVault 0.5.0 -> qiskit 2.5.2 (qiskit-aer 0.17.2): ibm_fez (nv:06404cefa54f)
# options: unknown_gates='typical', readout=True
# exact: gate noise: channels per exported native and physical locus (Aer QuantumError), ...
# approximated: cz error: the stated error already includes single-qubit gate error ...
# approximated: T2 of qubit 87: clamped to 2*T1 (the stated T2 exceeds 2*T1)
# omitted: idle time outside explicit delays ...
# unknown (no noise applied): preparation (reset) error of qubits 0, 1, 2 and 153 more
# clamped: 82 gates noisier than stated because relaxation alone exceeds the stated error ...
# used: cz took the calibration recorded for the opposite qubit order once
# Calibration-derived models approximate the hardware. They are not a digital twin.
The report says what this noise model reproduces, approximates, clamps or leaves out. Save
sim.report.to_dict() next to your results.
Because the simulator holds the device's gates, connectivity and errors, transpile compiles to
Fez's native gates and places the circuit by noise. To add the idle noise that the report
lists as omitted, also pass scheduling_method='alap' to transpile.
to_cirq(), to_pennylane() and to_stim(circuit) give the same noise to the other three
frameworks. Each export is the framework's own type and has its own report.
Frameworks has an example for each framework.
Coming from fake backends
The 18 bundled IBM profiles hold the data of the qiskit-ibm-runtime 0.49.0 fake backends. To move code from a fake backend to NoiseVault, change one line:
import noisevault as nv
# was: sim = AerSimulator.from_backend(FakeFez())
sim = nv.load("ibm_fez").to_qiskit()
A profile gives three things that a fake backend does not:
- Fixed numbers. A fake backend holds the data of its qiskit-ibm-runtime release. Release 0.38.0
replaced the data of 10 fake backends,
FakeFezamong them. A profile keeps its numbers, and its fingerprint pins them. - Both readout errors.
from_backendreplaces the error to read 1 from 0 and the error to read 0 from 1 with their mean. On qubit 0 of the bundled Fez profile, these errors are 0.005 and 0.018. - Other dates and frameworks.
nv pullfetches other calibrations of the device, and the same profile also exports to Cirq, PennyLane and Stim.
For a fake backend that NoiseVault does not bundle, nv.from_qiskit_backend(backend) makes a
profile. This function needs the ibm extra.
When your device result differs much from your fake-backend simulation, My device result differs from my simulation measures the gap for your own circuit.
Pin a calibration
A bundled profile holds one calibration. nv pull fetches other calibrations from IBM's public
endpoint or from IonQ, with no account. It saves them to your vault, ~/.noisevault/profiles.
With --at, nv pull fetches the calibration that was in effect at that date:
nv pull ibm_fez --at 2025-06-01 # saves ibm_fez@2025-05-31T22:01:04Z
nv cite ibm_fez@2025-05-31 # cite the calibration by the date that nv pull printed
nv diff ibm_fez@2025-02-26 ibm_fez@2025-05-31
nv diff compares the device medians, lists the qubits and pairs that changed most, and names
the gates that were disabled or re-enabled and the pairs that were added or removed.
For more than two dates, nv history ibm_fez --from 2026-11-01 --to 2026-11-30 -o fez.csv writes
the values of each calibration in the range as one table. Read
The calibration of a device over time.
A bare id such as ibm_fez loads the newest calibration that you have. After this pull, the
quickstart's nv.load("ibm_fez") loads 2025-05-31 instead of the bundled 2025-02-26. To load
the calibration of a given date, add the date to the id, as in ibm_fez@2025-02-26.
The fingerprint is a SHA-256 hash of a profile's physics. Pass the fingerprint as expect when
you load a profile. If the numbers ever differ, the load fails:
import noisevault as nv
fez = nv.load("ibm_fez@2025-02-26", expect="nv:06404cefa54f")
print(fez)
# <Profile ibm_fez@2025-02-26 superconducting 156q nv:06404cefa54f>
A mismatch raises FingerprintMismatch with both fingerprints. The
pin and cite recipe shows the full
workflow for a paper.
What ships
These bundled profiles ship inside the package and load offline with nv.load(id). All of them
come from sources with open licenses. NOTICE lists each file with its source. nv list
shows the bundled profiles with their qubit counts and processors.
| Vendor | Technology | Devices | Calibrated | Source and license |
|---|---|---|---|---|
| IBM (18) | superconducting | ibm_aachen, ibm_berlin, ibm_boston, ibm_brisbane, ibm_brussels, ibm_cusco, ibm_fez, ibm_kawasaki, ibm_kingston, ibm_kyiv, ibm_manila, ibm_marrakesh, ibm_miami, ibm_pittsburgh, ibm_quebec, ibm_sherbrooke, ibm_strasbourg, ibm_torino |
2024-05-27 to 2026-04-17 | qiskit-ibm-runtime fake backends, Apache-2.0 |
| Quantinuum (5) | trapped ion | quantinuum_h1-1, quantinuum_h1-2, quantinuum_h2-1, quantinuum_h2-2, quantinuum_reimei |
2023-08-21 to 2025-08-28 | hardware-specifications repository, Apache-2.0 |
| Google (2) | superconducting | google_rainbow, google_weber |
2021-11-03 to 2021-11-16 | cirq-google calibrations, Apache-2.0 |
You can get more devices and dates in three ways:
- Pull from an IBM Quantum account with
nv pull --source ibm-account. This source needs theibmextra. - Import a Qiskit backend, an IBM calibration CSV, saved Amazon Braket device properties or a
cirq-google calibration. You can also import a Hugging Face archive of IBM calibrations or a
dataset from Quantinuum's repository. IBM's fake backends need the
ibmextra. A cirq-google calibration needs thegoogleextra. The archive needs thehfextra. - Use
nv.Profile.uniform(...)to describe a device that does not exist, as in Describe a hypothetical device.
Data sources gives each source's fields and license.
Check a conversion
nv check runs small circuits through each installed export and compares the results with
NoiseVault's own density-matrix reference:
$ nv check ibm_fez
ibm_fez@2025-02-26T20:16:25Z nv:06404cefa54f on qubits 136-143-142-141
5 circuits: ghz_chain, chain_mirror, mirror, single_qubit, readout
framework result deviation tolerance circuits method
qiskit pass 3.6e-03 8.8e-03 5 of 5 exact + 20000 shots
cirq pass 1.6e-15 1.0e-09 5 of 5 exact
pennylane pass 1.6e-15 1.0e-09 5 of 5 exact
stim pass 5.8e-04 1.3e-03 5 of 5 20000 shots, 5 sigma
A pass means each export implements the same noise model as the NoiseVault reference on these circuits. A pass does not measure how well the model matches the hardware. Calibration-derived models approximate the hardware. They are not a digital twin. Limitations lists what no export models.
To run the check on all four frameworks with uv and no install, use this command:
uvx --from "noisevault[qiskit,cirq,pennylane,stim]" nv check ibm_fez
Compare with hardware
nv check shows that the exports agree with the reference. nv compare measures how far the
reference is from the device. It scores a profile on counts measured on the device. Then it fits
how far the profile's gate errors and readout errors must scale to match the counts.
A weekly study makes this comparison on three IBM devices.
The realism table gives the fitted factors of each run, and
study/PLAN.md gives the plan of the study. In the first runs with the deep
circuit set, on ibm_fez on 2026-11-12, the fitted gate factors were x0.94 and x1.04. Thus the
stated gate errors were right within 7% on that day and on those qubits. The short nv compare
circuits of the same week gave intervals from x0.95 to x6.0, which are too wide to tell.
Limitations says what these runs showed that a
profile cannot forecast.
To see the output without a device, score the bundled Kingston profile on example counts. A simulation with gate errors x1.8 and readout errors x1.3 made these counts. First, download the counts file:
curl -O https://raw.githubusercontent.com/dvgyl/noisevault/main/examples/kingston-simulated.counts.json
$ nv compare ibm_kingston@2026-04-15 kingston-simulated.counts.json
ibm_kingston@2026-04-15 nv:609c845ed934 on qubits 148-149-150-151
counts kingston-simulated.counts.json, simulated, sha256:b1b70f902611
run 2026-04-16 09:30Z, 26 h after calibration
circuit shots profile TVD fitted TVD noise TVD 95%
ghz_chain 4000 0.0217 0.0215 0.0321
mirror 4000 0.0237 0.0050 0.0070
single_qubit 4000 0.0067 0.0011 0.0041
readout 4000 0.0096 0.0036 0.0048
gate errors x2.16 (95% interval 1.74 to 2.58)
readout errors x1.34 (95% interval 1.16 to 1.54)
fit within shot noise on every circuit (p = 0.7)
Factors multiply the profile's error rates, so x2 means about twice the errors.
On these qubits, the factors absorb crosstalk, leakage, coherent error and idle
error beyond T1 and T2. The profile from -o applies the factors to every qubit.
Both intervals contain the factors that the simulation used. nv compare needs no framework. To
run it with no install, put
uvx --from noisevault in front of nv compare.
nv compare ... -o fitted.json saves the profile with the fitted factors. Every export of the
saved profile applies the factors.
To measure an IBM device yourself, put your IBM Quantum API key in IBM_QUANTUM_TOKEN. Then use
uv to run the nv compare circuits on the device. The script needs no clone or install:
uv run https://raw.githubusercontent.com/dvgyl/noisevault/main/scripts/run_on_ibm.py ibm_kingston -o kingston.counts.json
The script shows IBM's estimate of the QPU time and asks before it submits the job. It also prints
the nv compare command for the counts. For IQM, Rigetti, AQT and IonQ devices on Amazon Braket,
scripts/run_on_braket.py does the same. It shows the cost in US dollars and submits only with
--confirm-cost.
Measure a profile against hardware shows how
to plan and record a run. Counts format describes the counts file.
Limitations lists what the factors
cannot express.
Documentation
| Page | What it covers |
|---|---|
| Find your question | Questions that users ask, each with the code that answers it |
| Is my noise model any good? | Three commands that tell how far you can trust a profile for your device |
| Frameworks | Each export, its options and what its report can list |
| Recipes | Pin and cite, drift, tests that repeat, Mitiq, QEC with Stim, hypothetical devices, your own calibration numbers, PennyLane training, hardware comparison |
| History | The calibration values of a device over a range of dates, as one table |
| Qubit choice | Which qubits a circuit should use: unusable qubits, and a choice from the medians of several calibrations |
| Mitiq tutorial | ZNE and PEC on IBM Fez noise, with PEC representations from the profile |
| Data sources | Bundled, pulled and imported data, with licenses |
| Profile format | Every field of format 1.0, with examples |
| Counts format | The file that records a hardware run for nv compare |
| Scoring | nv score: which profile forecasts measured counts better, with no fit |
| Wide circuits and detection events | Score a profile on Clifford circuits of more than 10 qubits, and on the detection events of an error-correction experiment |
| For scripts and AI agents | The rules of each command, the exit status and the JSON output |
| Conventions | Error metrics, channel construction, readout and qubit order |
| Limitations | What the noise models leave out and what has been checked |
| JSON Schema | The schema of format 1.0, also printed by nv schema |
| Examples | Runnable scripts, from the quickstart to a QEC memory experiment |
Contributing
Bug reports, new data sources and fixes are welcome. CONTRIBUTING.md covers the development setup, the tests and how to add a source.
Citing
If you use NoiseVault, cite the software with CITATION.cff, or with
Cite this repository on GitHub. Also give the fingerprint of every profile that you used.
nv cite REF prints the fingerprint with the source, the calibration time, the NoiseVault version
and the ref that loads the calibration. nv cite REF --bibtex prints a BibTeX entry.
License
Apache License 2.0. See LICENSE. Bundled calibration data keeps the license and attribution of its source. NOTICE lists every bundled file and where it comes from.
Acknowledgements
The bundled calibrations come from IBM Quantum through qiskit-ibm-runtime, from Google Quantum AI through cirq-google, and from Quantinuum's hardware-specifications repository. NoiseVault uses Qiskit and Qiskit Aer, Cirq, PennyLane, Stim and PyMatching.
Metadata
Release files for noisevault 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| noisevault-0.5.0.tar.gz | 1.4 MB | With provenance | Details for noisevault-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| noisevault-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for noisevault-0.5.0-py3-none-any.whl |
Total release size: 1.9 MB
Release files / noisevault-0.5.0.tar.gz
| Download URL | noisevault-0.5.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
420498c244a63892fbddf1cfe88a0355972c44dfd84e4fc88e3e184fdb40311b
|
|
BLAKE2b-256 checksum How to use checksums |
d13221e474670c57aa49a85b62f10ebd8ba3814815dd5501ff01a8173d2a87f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / noisevault-0.5.0-py3-none-any.whl
| Download URL | noisevault-0.5.0-py3-none-any.whl |
|---|---|
| Size | 574.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ec0f65dabe0063ad49a9770c02d1ad8d2ae50e9a1e0f6dab1831538ffa9e17b
|
|
BLAKE2b-256 checksum How to use checksums |
7bd6aa9ecf0c67b652c264c7228bb2c88c07f585ad86771a47bf5d5b5d29132c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for noisevault 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for noisevault-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.