Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Intrinsic.AND
operation AND(control1 : Qubit, control2 : Qubit, target : Qubit) : Unit is Adj
Summary
Applies the AND gate that is more efficient for use with decomposition of multi-controlled operations. Note that target qubit must be in |0⟩ state.
Input
control1
First control qubit for the AND gate.
control2
Second control qubit for the AND gate.
target
Target qubit for the AND gate.
Remarks
Use the Adjoint only for uncomputation purposes.