Perform the T gate (pi/8 phase gate) operation on the qubits at the
specified indexes.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationTGate( int[] Indexes )
Function OperationTGate ( _ Indexes As Integer() _ ) As IQuantumRegister
IQuantumRegister^ OperationTGate( array<int>^ Indexes )
Parameters
- Indexes (array< Int32 >[]()[])
- Indexes of the qubits to apply the operations to.
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | Thrown if any of the indexes are
out of range. |