qiskit.circuit.QuantumCircuit.p¶
- QuantumCircuit.p(theta, qubit)[source]¶
Apply
PhaseGate
.For the full matrix form of this gate, see the underlying gate documentation.
- প্যারামিটার
theta (Union[ParameterExpression, float]) -- THe angle of the rotation.
qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) to apply the gate to.
- রিটার্নস
A handle to the instructions created.
- রিটার্ন টাইপ