-
Notifications
You must be signed in to change notification settings - Fork 201
Add loss policies to NoiseConfig to express different kinds of behavior on lost qubits
#3302
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
Open
orpuente-MS
wants to merge
27
commits into
main
Choose a base branch
from
oscarpuente/qubit-loss-policies
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,662
−343
Open
Changes from 4 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
4213a95
add loss policies to `NoiseConfig` and support for it in all QIR simu…
orpuente-MS 021b21d
start NoisePolicy enum from 0
orpuente-MS 1af491a
fix test comment
orpuente-MS 941d453
reuse is_1q_op
orpuente-MS 8ee6259
noise policies only on multi-qubit gates + always apply idle noise on…
orpuente-MS 91350db
add warning when setting `.on_loss` on single-qubit gate
orpuente-MS 640f973
more reasonable swap behavior
orpuente-MS 885da6a
store policy in `policy` field instead of `q3`
orpuente-MS badd30c
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS ce23c8d
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS 6ef40fc
fix struct size calculation after merge
orpuente-MS 52a758b
fix flaky tests after merge
orpuente-MS abb2aec
deny loss policies that don't make sense
orpuente-MS 001a90a
add errors for invalid loss policies in simulators
orpuente-MS 8846322
add tests for allowed and forbiden policy combinations
orpuente-MS cf8e841
fix LossPolicy enum docstrings
orpuente-MS 45a0a9f
fix typo
orpuente-MS 5d3f33a
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS b14acb9
fix errors after merge
orpuente-MS d3dbd7e
apply pauli noise after noise-policy handling in GPU simulator
orpuente-MS 1a41741
fix LossPolicy python type signature
orpuente-MS 3d18306
clarify `DEFAULT_SINGLE_QUBIT_LOSS_POLICIES` semantics
orpuente-MS 0b09fdf
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS 05dae7c
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS bceb1ab
Merge branch 'main' into oscarpuente/qubit-loss-policies
orpuente-MS fbce4ad
add `mz`, `mresetz`, and `mov` to single-qubit-gates match
orpuente-MS e4b0b83
document swap assumption in `NoiseConfig` python API
orpuente-MS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.