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