-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix for #111 #151
fix for #111 #151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!!
Just left some comments regarding naming issues.
Thanks @lbello !
test/python/qasm/issue_111.qasm
Outdated
@@ -0,0 +1,18 @@ | |||
OPENQASM 2.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this file to have a more descriptive name? Something like: test_float_precision.qasm
test/python/qasm/issue_81.qasm
Outdated
@@ -0,0 +1,22 @@ | |||
OPENQASM 2.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here - more descriptive name.
test/python/test_mapper.py
Outdated
def tearDown(self): | ||
pass | ||
|
||
def test_issue_81(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Along the same line of previous comments, I think we should have a better descriptive method name here.
test/python/test_mapper.py
Outdated
count2 = result2.get_counts("test") | ||
self.assertEqual(count1.keys(), count2.keys(),) | ||
|
||
def test_issue_111(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here - descriptive naming.
* added measurement calibration doc * Update measurement_calibration.rst fixed numerical typo in matrix * apdated the doc for measurement calibration * added RB documentation * fix lint erros * fix lint error
math
withsympy
. Fully removingmath
is a bit more complicated, so I will do it in a following PR.