Skip to content

Commit

Permalink
[fix] gallery mqgate example, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Mc-Zen committed Apr 13, 2024
1 parent 919cfaa commit df8f60f
Show file tree
Hide file tree
Showing 2 changed files with 2,124 additions and 3,873 deletions.
2 changes: 1 addition & 1 deletion docs/guide/gallery.typ
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
[Target], quantum-circuit(1, targ(), 1), raw("targ()"),
[Swap target], quantum-circuit(1, swap(0), 1), raw("swap(0)"),
[Permutation \ gate], quantum-circuit(1, permute(2,0,1), 1, [\ ], 3, [\ ], 3), raw("permute(2,0,1)"),
[Multiqubit \ gate], quantum-circuit(1, mqgate($U$, n: 3), 1, [\ ], 3, [\ ], 3), raw("mqgate($U$, 3)"),
[Multiqubit \ gate], quantum-circuit(1, mqgate($U$, n: 3), 1, [\ ], 3, [\ ], 3), raw("mqgate($U$, n: 3)"),
[lstick], quantum-circuit(lstick($|psi〉$), 2), raw("lstick($|psi〉$)"),
[rstick], quantum-circuit(2, rstick($|psi〉$)), raw("rstick($|psi〉$)"),
[Multi-qubit \ lstick], quantum-circuit(row-spacing: 10pt, lstick($|psi〉$, n: 2), 2, [\ ], 3), raw("lstick($|psi〉$, \nn: 2)"),
Expand Down
Loading

0 comments on commit df8f60f

Please sign in to comment.