Skip to content

Commit

Permalink
Update csum mod format
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Oct 16, 2023
1 parent 6597be4 commit c314832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bqskit/ir/gates/constant/csum.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CSUMGate(ConstantGate, QuditGate):
The CSUM gate is given by the following formula:
.. math::
CSUM |i,j\\rangle = |i, i + j mod d\\rangle
CSUM |i,j\\rangle = |i, i + j \\mathrm{mod} d\\rangle
where d is the number of levels (2 levels is a qubit,
3 levels is a qutrit, etc.)
Expand Down

0 comments on commit c314832

Please sign in to comment.