PCVL-1242 photon error mitigation - #778
Merged
Aubaert merged 13 commits intoJul 31, 2026
Merged
Conversation
Aubaert
marked this pull request as ready for review
July 31, 2026 12:10
Benoit-F-Q
approved these changes
Jul 31, 2026
| from .photon_recycling import photon_recycling, PhotonRecycling | ||
| from .abstract_mitigation import AbstractMitigation | ||
| from .compilation_averaging import CompilationAveraging | ||
| from .photon_error_mitigation import PhotonErrorMitigation No newline at end of file |
| return results[0] | ||
|
|
||
| sub_comps = self.extend_computation(computation, noise) | ||
| sub_parameters = [comp.parameters for comp in sub_comps] |
| else: | ||
| p2 = 0 | ||
|
|
||
| # The loss is not exactly this product, but this will be enough for now |
Contributor
There was a problem hiding this comment.
This loss value is accurate enough for our needs
| computation = Computation(c.get_command("probs"), e) | ||
|
|
||
| perfect_res = c.execute(computation) | ||
|
|
Contributor
There was a problem hiding this comment.
Some test showing that unmitigated results are not close to perfect results?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.