Package: prototype-zne
Zero Noise Extrapolation (ZNE)Table of contentsAbout This ProjectAbout PrototypesDeprecation PolicyUsing Quantum ServicesAcknowledgementsReferencesLicenseFor usersInstallationTutorialsReference GuideHow-tosExplanationsHow to Give FeedbackFor developersContribution GuidelinesAbout This ProjectThis module builds on top of theEstimatorprimitive official specification, providing a highly customizablezero noise extrapolation(ZNE) workflow for error mitigation on expectation value calculations. This is achieved byinjecting orchestrated ZNE capabilitiesinto anEstimatorclass of choice in two phases:Amplifying the noiseintroduced by the gates of input circuits.Extrapolating the returned expectation values to the zero noise limit.In principle, this prototype is compatible with anyEstimatorclass as long as it implements theqiskit.primitives.BaseEstimatorinterface(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 providingimplementations of well defined interfacesfor these tasks.Before using the module for new work, users should read through thereference guide, specifically thecurrent limitationsof the module. Demotutorialsare also available as jupyter notebooks.About PrototypesPrototypes 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 ourlanding pageandblog postfor more information!Deprecation PolicyPrototypes are meant to evolve rapidly and, as such, do not followQiskit'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 inCHANGELOG.md.Using Quantum ServicesIf you are interested in using quantum services (i.e. using a real quantum computer, not a simulator) you can look at theQiskit Partners programfor partner organizations that have provider packages available for their offerings.Importantly,Qiskit IBM Runtimeis 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 newprimitiveprograms.AcknowledgementsMario 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.LicenseApache License 2.0