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