Skip to content

Commit

Permalink
docs: fix the definition of the ccnot_matrix (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
genos authored Sep 1, 2022
1 parent ca1ec2c commit 57f0501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ Some gates can be compactly represented as a permutation. For example, ``CCNOT``
[0, 0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 1, 0]
[0, 0, 0, 0, 0, 0, 1, 0]
])
ccnot_gate = DefGate("CCNOT", ccnot_matrix)
Expand Down

0 comments on commit 57f0501

Please sign in to comment.