qiskit.circuit.QuantumCircuit.s¶
- QuantumCircuit.s(qubit)[source]¶
Apply
SGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Parameters
qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) to apply the gate to.
- Returns
A handle to the instructions created.
- Return type