-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: Decode pytket op parameters #644
Changes from 9 commits
d83000c
919075b
4bfafbe
ec3d83c
92b5975
0155c23
92f9333
b39a0c2
59df3dd
4923aab
a376a9b
9332476
ffe7bd3
c796c37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -717,8 +717,6 @@ mod tests { | |
assert_eq!(circ.circuit_signature().input_count(), qubits + bits); | ||
assert_eq!(circ.circuit_signature().output_count(), qubits + bits); | ||
assert_eq!(circ.qubit_count(), qubits); | ||
assert_eq!(circ.num_operations(), 3); | ||
assert_eq!(circ.operations().count(), 3); | ||
Comment on lines
-720
to
-721
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Circuit operation counts are a bit over the place now, as they haven't been updated in a while to reflect the operations we care about. We'll probably rewrite this in the -future merge, so I'm ignoring the changes for now. |
||
|
||
assert_eq!(circ.units().count(), qubits + bits); | ||
assert_eq!(circ.nonlinear_units().count(), bits); | ||
|
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.
Using
pest
for parsing, as it is the one currently used inhugr-model
.