qiskit.circuit.QuantumCircuit.ccz¶
- QuantumCircuit.ccz(control_qubit1, control_qubit2, target_qubit, label=None, ctrl_state=None)[source]¶
Apply
CCZGate
.For the full matrix form of this gate, see the underlying gate documentation.
- প্যারামিটার
control_qubit1 (QubitSpecifier) -- The qubit(s) used as the first control.
control_qubit2 (QubitSpecifier) -- The qubit(s) used as the second control.
target_qubit (QubitSpecifier) -- The qubit(s) targeted by the gate.
label (str | None) -- The string label of the gate in the circuit.
ctrl_state (str | int | None) -- The control state in decimal, or as a bitstring (e.g. '10'). Defaults to controlling on the '11' state.
- রিটার্নস
A handle to the instructions created.
- রিটার্ন টাইপ