qiskit.circuit.QuantumCircuit.y¶
- QuantumCircuit.y(qubit)[fuente]¶
Apply
YGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Parámetros
qubit (
Union
[Qubit
,QuantumRegister
,int
,slice
,Sequence
[Union
[Qubit
,int
]]]) – The qubit(s) to apply the gate to.- Tipo del valor devuelto
- Devuelve
A handle to the instructions created.