Skip to content

Commit

Permalink
[ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
harshangrjn committed Nov 15, 2022
1 parent 89196c0 commit 75332ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ this function returns a complex-valued controlled gate representable in `N+NCQ`
The state of control qubit is applied `NCQ` times to every wire preceeding the location
of the input gate. Note that this function does not account for the actual location
of the controlled gate in the circuit. Here are a few examples:
(a) [ToffoliGate](@ref) = controlled_gate(XGate(), 2) = controlled_gate(CnotGate(), 1)
(a) [ToffoliGate](@ref) = controlled_gate(XGate(), 2) = controlled_gate(CNotGate(), 1)
(b) CCCCCZGate = controlled_gate(ZGate(), 5)
(c) TCCGate = controlled(TGate(), 2, reverse = true)
"""
Expand Down

0 comments on commit 75332ff

Please sign in to comment.