v0.29.0
Version 0.29.0
Summary
Update Pauli Twirling
Thanks to @purva-thakre for updating Mitiq's PT functions, clarifying that PT is a noise tailoring technique and for consolidating utilities to be shared between PT and other techniques.
This release replaces the execute_with_pt
function with pauli_twirl_circuit
.
from mitiq.pt.pt import pauli_twirl_circuit
pauli_twirl_circuit(circuit)
Classical Shadows
Top-level functions and tests for classical shadows estimation are now available in Mitiq.
Congrats @Min-Li on completing the main functionality for this technique!
Note that documentation for classical shadows estimation is not yet available but coming soon.
from mitiq.shadows.shadows import shadow_quantum_processing, classical_post_processing
shadow_outcomes = shadow_quantum_processing(circuit, executor, num_total_measurements_shadow)
results = classical_post_processing(shadow_outcomes)
Stim + Mitiq tutorial
Added a tutorial demonstrating a method of combining quantum error mitigation (QEM) and quantum error correction (QEC), reducing the effective logical error rate of the computation.
This tutorial also introduces the use of Mitiq’s ZNE functions with a new backend, the Stim stabilizer simulator.
Calibration, Testing, and Documentation
Streamlined formatting of calibration logs, removed redundant test cases, and fixed documentation issues.
Thanks @natestemen for these improvements and for reviewing many of the PRs in this release!
Also, congrats to our new contributor @bdg221 for closing their first Mitiq PR! 🎉
All changes
- Move functions to utils (#1989) [@purva-thakre]
- remove unused import (#1999) [@natestemen]
- Make robust
Calibrator
logging (#1985) [@natestemen] - Speed up a few tests (#1996) [@natestemen]
- 1988 contributing doc note for zsh shell (#1997) [@bdg221]
- ZNE Stim tutorial (#1967) [@Misty-W]
- Fix typos in theory section of ddd guide (#1993) [@Misty-W]
- Broken link in docs (#1991) [@purva-thakre]
- Change the main function in Pauli Twirling (#1977) [@purva-thakre]
- remove binder badge and other links binder (#1970) [@andreamari]
- [Classical Shadows 4] Main function (#1921) [@Min-Li]
- Ensure BQSKit example runs (#1962) [@natestemen]
Dependency updates
- Bump stimcirq from 1.11.0 to 1.12.0 (#2000) [@dependabot]
- Bump stim from 1.11.0 to 1.12.0 (#2001) [@dependabot]
- Bump actions/checkout from 3 to 4 (#1994) [@dependabot]
- Update pennylane requirement from ~=0.31.1 to ~=0.32.0 (#1978) [@dependabot]
- Update qiskit-ibm-provider requirement from ~=0.6.3 to ~=0.7.0 (#1982) [@dependabot]
- Update amazon-braket-sdk requirement from ~=1.53.4 to ~=1.54.1 (#1972) [@dependabot]
- Update qiskit requirement from ~=0.44.0 to ~=0.44.1 (#1969) [@dependabot]
- Bump scipy + pyscf versions (#1968) [@dependabot]
- Update amazon-braket-sdk requirement from ~=1.53.3 to ~=1.53.4 (#1965) [@dependabot]