-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Give FakeOpenPulse2Q qubit T2 times and readout errors #7425
Merged
Conversation
This file contains 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
It had some properties, but didn't have the full set. This meant that things like the T2 times weren't filled in by the defaults, so trying to access the T2 times of any qubits was an error. The values chosen here are unimportant; in this case they were simply drawn from a linear regression of all T1 times against T2 times. The readout errors were just a reasonable value.
jakelishman
force-pushed
the
fix/fake-openpulse2q-t2
branch
from
December 17, 2021 11:13
32fb2a6
to
c20590b
Compare
jakelishman
added
the
Changelog: Bugfix
Include in the "Fixed" section of the changelog
label
Dec 17, 2021
jakelishman
added
the
stable backport potential
The bug might be minimal and/or import enough to be port to stable
label
Dec 17, 2021
(needs to be backported if we accept it, so that the backport branch doesn't have broken tests with Aer 0.10) |
Pull Request Test Coverage Report for Build 1654856234
💛 - Coveralls |
taalexander
approved these changes
Jan 4, 2022
mergify bot
pushed a commit
that referenced
this pull request
Jan 4, 2022
It had some properties, but didn't have the full set. This meant that things like the T2 times weren't filled in by the defaults, so trying to access the T2 times of any qubits was an error. The values chosen here are unimportant; in this case they were simply drawn from a linear regression of all T1 times against T2 times. The readout errors were just a reasonable value. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 2867f20)
mergify bot
added a commit
that referenced
this pull request
Jan 4, 2022
It had some properties, but didn't have the full set. This meant that things like the T2 times weren't filled in by the defaults, so trying to access the T2 times of any qubits was an error. The values chosen here are unimportant; in this case they were simply drawn from a linear regression of all T1 times against T2 times. The readout errors were just a reasonable value. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 2867f20) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changelog: Bugfix
Include in the "Fixed" section of the changelog
stable backport potential
The bug might be minimal and/or import enough to be port to stable
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.
Summary
It had some properties, but didn't have the full set. This meant that
things like the T2 times weren't filled in by the defaults, so trying to
access the T2 times of any qubits was an error. The values chosen here
are unimportant; in this case they were simply drawn from a linear
regression of all T1 times against T2 times. The readout errors were
just a reasonable value.
Details and comments
Aer 0.10's noise model tries to read T1 and T2 times for all qubits, which causes test failures for us due to the missing properties. I would have expected that a missing property would return
0
, but that's probably pretty dangerous behaviour and I don't want to mess around in theBackendProperties
class much because I don't know the context. Instead I've just givenFakeOpenPulse2q
some arbitrary T2 times and readout errors, since it feels like it should know those anyway.We can also patch the Aer
NoiseModel
to treat missing T1/T2 times as 0.