We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89196c0 commit 75332ffCopy full SHA for 75332ff
src/utility.jl
@@ -835,7 +835,7 @@ this function returns a complex-valued controlled gate representable in `N+NCQ`
835
The state of control qubit is applied `NCQ` times to every wire preceeding the location
836
of the input gate. Note that this function does not account for the actual location
837
of the controlled gate in the circuit. Here are a few examples:
838
-(a) [ToffoliGate](@ref) = controlled_gate(XGate(), 2) = controlled_gate(CnotGate(), 1)
+(a) [ToffoliGate](@ref) = controlled_gate(XGate(), 2) = controlled_gate(CNotGate(), 1)
839
(b) CCCCCZGate = controlled_gate(ZGate(), 5)
840
(c) TCCGate = controlled(TGate(), 2, reverse = true)
841
"""
0 commit comments