Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to independent calibration / mitigation workflow #263

Open
nonhermitian opened this issue Oct 30, 2024 · 0 comments
Open

Move to independent calibration / mitigation workflow #263

nonhermitian opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nonhermitian
Copy link
Collaborator

The original M3 workflow works pretty well, and provides a nice experience for users. However, every mitigation workflow has basically two steps: Calibrate then mitigate. M3 should follow this pattern as well in a manner like the following pseudo-code:

calibration = Calibration(backend)
calibration.run()

mit = M3Mitigator(calibration)
quasi = mit.run(counts, mappings)

This works nicely because using the standard 'balanced' calibrations, there is no QPU runtime difference between calibrating a full device and a subset of qubits; One can calibrate a full device by default and incur no QPU runtime overhead. It also allows for having methods related to the calibrations attached to theCalibration object. This is also advantageous because it is often of interest what the calibration data yields for error rates, how those vary with time, etc etc. Finally, it also allows for a single object that can be used in both M3 and the solver in #215.

The original workflow will be left as is, and will just call these components internally.

@nonhermitian nonhermitian added the enhancement New feature or request label Oct 30, 2024
@nonhermitian nonhermitian self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant