Perform the Y gate operation to the qubits at the specified indexes.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationYGate( int[] Indexes )
Function OperationYGate ( _ Indexes As Integer() _ ) As IQuantumRegister
IQuantumRegister^ OperationYGate( array<int>^ Indexes )
- Indexes (array< Int32 >[]()[])
- Indexes to apply the operation 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. |