-
Notifications
You must be signed in to change notification settings - Fork 15
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
Compatibility Update for Qibolab 0.2 #1083
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1083 +/- ##
==========================================
+ Coverage 50.55% 50.96% +0.40%
==========================================
Files 63 63
Lines 2886 2910 +24
==========================================
+ Hits 1459 1483 +24
Misses 1427 1427
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
def natives(self) -> list[str]: | ||
"""Returns the list of native gates supported by the platform.""" | ||
compiler = Compiler.default() | ||
natives = [g.__name__ for g in list(compiler.rules)] |
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.
The native gates are defined directly from the compiler rules. We should receive them directly from the platform (see qiboteam/qibocal#1090).
The same updates as #1079 and #1076 for Qibolab 0.2.
Checklist: