Apply the S gate (phase gate) to the qubits at the indexes specified.
| 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
- Indexes (array< Int32 >[]()[])
- Indexes of the qubits to apply the indexes to.
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if any of the indexes
specified are out of range. |
| NotImplementedException | This method is not yet
implemented. |