Unitary Fund

Because evolution is unitary.

Calibrating Error Mitigation with Mitiq

Nate Stemen

What is error mitigation calibration?

Error mitigation improves the performance of quantum programs, but with a myriad of mitigation strategies, and workflows to choose from, it can often be hard to know where to start. Further, once a strategy is chosen, there can be many parameters that need to be tuned to optimize its performance. For these reasons we have begun building a module within mitiq to help find the best mitigation strategy and parameters for your backend. This makes it simpler to take advantage of the best error mitigating techniques.

The new functionality is accessed by instantiating a Calibrator object as follows.

image demonstating the code workflow using a Calibrator object

The Calibrator runs a series of experiments using different parameters on a collection of circuits. The performance of these techniques are then weighed according to the improvement across a variety of circuits, and the strategy that performed best is returned to be used immediately on your circuit of choice.

Our goal with creating this module is twofold:

  1. Make error mitigation more accessible by requiring less expert use in order to operate.
  2. Encourage quantum programmers to experiment with error mitigation.

Futher documentation related to this feature can be found in our user guide, as well as a new tutorial demonstrating the module in action on a fake Qiskit device (along with a video walkthrough of the tutorial). Since this module is still relatively new, we’d love to hear your feedback! Whether it’s a bug, feature request, or comment, feel free to get in contact at nate@unitary.fund, or open an issue!

This website is hosted on github, and our community follows this code of conduct.

If you have suggestions for changes then please open up a pull request!

©2020 Unitary Fund