Apply the S gate (phase gate) to the qubits at the indexes specified.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IQuantumRegister OperationSGate( int[] Indexes )
Public Function OperationSGate ( _ Indexes As Integer() _ ) As IQuantumRegister
public: virtual IQuantumRegister^ OperationSGate( array<int>^ Indexes ) sealed
Parameters
- Indexes (array< Int32 >[]()[])
- Indexes of the qubits to apply the indexes to.
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | Thrown if any of the indexes
specified are out of range. |
NotImplementedException | This method is not yet
implemented. |