Skip to content

Commit

Permalink
[test] improve tequila doubly controlled gates test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mc-Zen committed Oct 11, 2024
1 parent ef25748 commit cf5497a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified tests/tequila/basic/ref/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions tests/tequila/basic/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@
#pagebreak()

#quill.quantum-circuit(..tq.build(
tq.ccx((0, 1, 0, 1, 0, 2), (1, 0, 1, 2, 2, 0), (2, 2, 2, 0, 1, 1)),
tq.ccx((0, 1, 2, 1, 0, 2), (1, 0, 1, 2, 2, 0), (2, 2, 0, 0, 1, 1)),
tq.ccx(2, 4, 1),
tq.ccz(2, 3, 1),
tq.cca(1, 4, 2, $H$),
tq.y(1),
tq.cca(1, 4, 2, $X$),
tq.h(range(5))
// tq.cx(5, 1)
))

0 comments on commit cf5497a

Please sign in to comment.