Skip to content

Releases: Qiskit/qiskit-addon-mthree

2.2

23 Mar 15:22
59fbe71
Compare
Choose a tag to compare
2.2

M3 2.2

Fixes

final_measurement_mapping was returning invalid mappings with conditionals due to legacy behavior that I forget to remove

2.1

09 Mar 00:39
a560717
Compare
Choose a tag to compare
2.1

Fixes an issue with calibrating physical qubits when doing mid-circuit measurements.

2.0

12 Feb 21:51
c90aa50
Compare
Choose a tag to compare
2.0

M3 Version 2.0

What's new

  • Mappings returned by mthree.utils.final_measurement_mapping now have keys that represent the classical bits, and values that indicate the qubit that was measured into that bit. This is a breaking change for those who create their own mappings. This takes care of mid-circuit measurements automatically.

  • Setting method='independent' for simulators is now done internally for the user by default. It is possible to override defaults by setting this keyword argument explicitly.

  • Docs expanded a bit with examples for sampling problems looking at the most probable bit-string, and correcting mid-circuit measurements.

Bug fixes

  • M3 is now compatible with Qiskit's fake backends that use BackendV2 as their base class.
  • Fixed an issue where calibration data could not be saved when performing calibrations in async mode.

Thanks to @mtreinish and @ehchen for their help in this release.

1.1.0

19 Sep 14:48
1224260
Compare
Choose a tag to compare

Fixes

Allows for delay instructions at the end of a circuit and still record measurements as "final": Qiskit/qiskit-ibm-runtime#481

Notes

The above fix is related to a much larger effort needed to correct mid-circuit measurements when the results are deferred to the end.

1.0

01 Jul 14:59
ffd78e1
Compare
Choose a tag to compare
1.0

This release requires qiskit-terra >= 0.21 and the corresponding IBM Quantum provider (>=0.19.2)

New

  • Doing the correct calculation for the balanced calibration method is now done internally. This ensures that users get the correct precision for the measurement error rates for all methods (#119)

  • Allow for easily correcting low-weight operators via utility functions that compute marginal distributions and the correct mappings (#120 ).

0.24

15 Jun 18:39
f3bb3b0
Compare
Choose a tag to compare

New

  • Does balanced calibration math internally. This means that the precision set by the number of shots used for calibration is the same for all calibration methods. This also means the overhead from balanced calibration does not depend on the number of qubits (assuming the overhead is linear in the number of shots and independent of the number of circuits executed).

  • Added a documentation section that briefly explains the balanced calibrations.

  • Setting openmp can be done via --openmp now as well as the old way --with-openmp. The latter will be dropped at some point in the future.

0.23.0

13 May 13:11
5b41eec
Compare
Choose a tag to compare

Changes

  • Calibration save times are now in UTC rather than local time
  • Add Py310 support
  • Dropped support for Py36
  • Wheels build now use manylinux 2014
  • Remove use of deprecated Qiskit BaseBackend
  • Bypass transpiler when generating calibration circuits

0.22.0

23 Mar 16:42
52301c1
Compare
Choose a tag to compare

Fixes

  • Fixed a bug in deployment (#96).

0.21.0

22 Mar 17:30
ec6275f
Compare
Choose a tag to compare

Enhancements

  • Removed hard coded MACOSX_DEPLOYMENT_TARGET for better OSX compatibility (#91)

Fixes

  • Fixed a bug when using the helper expval routine with dictionaries from Qiskit statevectors (#95)

0.20.0

18 Feb 23:44
efce3a0
Compare
Choose a tag to compare

Fixes

  • Incorrect indexing leading to wrong expvals for non-symmetric operator strings.