Skip to main content

Platform Python Qiskit
Tests Coverage Release DOI License


Logo

Zero Noise Extrapolation (ZNE)


Table of contents

  1. About This Project
  2. About Prototypes
  3. Deprecation Policy
  4. Using Quantum Services
  5. Acknowledgements
  6. References
  7. License

For users

  1. Installation
  2. Tutorials
  3. Reference Guide
  4. How-tos
  5. Explanations
  6. How to Give Feedback

For developers

  1. Contribution Guidelines

About This Project

This module builds on top of the Estimator primitive official specification, providing a highly customizable zero noise extrapolation (ZNE) workflow for error mitigation on expectation value calculations. This is achieved by injecting orchestrated ZNE capabilities into an Estimator class of choice in two phases:

  1. Amplifying the noise introduced by the gates of input circuits.
  2. Extrapolating the returned expectation values to the zero noise limit.

In principle, this prototype is compatible with any Estimator class as long as it implements the qiskit.primitives.BaseEstimator interface (e.g. qiskit.primitives.Estimator, qiskit.primitives.BackendEstimator, qiskit_ibm_runtime.Estimator). Notice, however, that error mitigation techniques only make sense in the context of noisy computations; therefore using ZNE on noisless platforms (e.g. simulators), although technically possible, will not produce better results.

Furthermore, the software architecture has been devised specifically to allow users to create their custom noise amplification and extrapolation techniques, and to plug them into the overall ZNE workflow seamlessly. Libraries of pre-implemented strategies for both of these tasks are provided in the module, and external packages can easily be made to work with this tool by providing implementations of well defined interfaces for these tasks.

Before using the module for new work, users should read through the reference guide, specifically the current limitations of the module. Demo tutorials are also available as jupyter notebooks.


About Prototypes

Prototypes is a collaboration between developers and researchers that will give users early access to solutions from cutting-edge research in areas like error mitigation, quantum simulation, and machine learning. These software packages are built on top of, and may eventually be integrated into the Qiskit SDK. They are a contribution as part of the Qiskit community.

Check out our landing page and blog post for more information!


Deprecation Policy

Prototypes are meant to evolve rapidly and, as such, do not follow Qiskit's deprecation policy. We may occasionally make breaking changes in order to improve the user experience. When possible, we will keep old interfaces and mark them as deprecated, as long as they can co-exist with the new ones. Each substantial improvement, breaking change, or deprecation will be documented in CHANGELOG.md.


Using Quantum Services

If you are interested in using quantum services (i.e. using a real quantum computer, not a simulator) you can look at the Qiskit Partners program for partner organizations that have provider packages available for their offerings.

Importantly, Qiskit IBM Runtime is a quantum computing service and programming model that allows users to optimize workloads and efficiently execute them on quantum systems at scale; extending the existing interface in Qiskit with a set of new primitive programs.


Acknowledgements

  • Mario Motta: for scientific insight and guidance.
  • Julien Gacon: for providing a util function that maps gate names to the corresponding gate classes and for general discussions.
  • Derek Wang: for suggesting new features and stress-testing the tool.

References

[1] Kandala, Abhinav, et al. "Extending the computational reach of a noisy superconducting quantum processor." arXiv:1805.04492(2018).

[2] Stamatopoulos, Nikitas, et al. "Option pricing using quantum computers." Quantum4 (2020): 291.

[3] LaRose, Ryan, et al. "Mitiq: A software package for error mitigation on noisy quantum computers." arXiv:2009.04417(2020).

[4] Kim, Youngseok, et al. "Scalable error mitigation for noisy quantum circuits produces competitive expectation values." arXiv:2108.09197(2021).

[5] T. Giurgica-Tiron, Y. Hindy, R. LaRose, A. Mari and W. J. Zeng, "Digital zero noise extrapolation for quantum error mitigation," 2020 IEEE International Conference on Quantum Computing and Engineering (QCE), Denver, CO, USA, 2020, pp. 306-316, doi: 10.1109/QCE49297.2020.00045.


License

Apache License 2.0

Metadata

Release files for prototype-zne 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prototype-zne 1.3.1
File Size Uploaded Provenance Actions
prototype_zne-1.3.1.tar.gz 5.6 MB Without provenance Details for prototype_zne-1.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prototype-zne 1.3.1
File Interpreter ABI Platform Actions
prototype_zne-1.3.1-py3-none-any.whl Python 3 none any Details for prototype_zne-1.3.1-py3-none-any.whl

Total release size: 5.6 MB

Release files / prototype_zne-1.3.1.tar.gz

Download URL prototype_zne-1.3.1.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
646bb77bd795c431e3e1a5b4f440c3d18e8143bdc1d4ee2136c552be32fde4c1
BLAKE2b-256 checksum
How to use checksums
fb9fc975f8ab1b8f4aa2262f09f841d1a45d2df1f07d6c16b35169a4e13ee1fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / prototype_zne-1.3.1-py3-none-any.whl

Download URL prototype_zne-1.3.1-py3-none-any.whl
Size 56.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2fe9835146a1af17e7470f707208b35b712e32f021c353cdf1b25961703ccca
BLAKE2b-256 checksum
How to use checksums
7d5fccbd0c520deedab8e5998ea8f587e089337de0c20a3f0a900d411186b1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for prototype-zne 1.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page