-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add diagonal
architectute to deterministic Unary encoder
#1141
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1141 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 68 68
Lines 9777 9801 +24
=========================================
+ Hits 9777 9801 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
diagonal
and semi-diagonal
architectutes to Unary encoderdiagonal
architectute to Unary encoder
diagonal
architectute to Unary encoderdiagonal
architectute to deterministic Unary encoder
[(index, index + int(nqubits / 2**depth)) for index in indexes] | ||
] | ||
pairs_rbs += pairs_rbs_per_depth | ||
indexes = list(np.array(pairs_rbs_per_depth).flatten()) |
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.
indexes = list(np.array(pairs_rbs_per_depth).flatten()) | |
indexes = list(np.array(pairs_rbs_per_depth).ravel()) |
Checklist: