Apply the S gate (phase gate) to the qubit.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationSGate()
Function OperationSGate As IQuantumRegister
IQuantumRegister^ OperationSGate()
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| SizeMismatchException | Thrown if the register contains
more than one qubit. |