Perform the T gate (pi/8 phase gate) operation on the qubit at the specified
index.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationTGate( int Index )
Function OperationTGate ( _ Index As Integer _ ) As IQuantumRegister
IQuantumRegister^ OperationTGate( int Index )
Parameters
- Index (Int32)
- Index of the qubit to apply the operation to.
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | Thrown if the index specified
is out of range. |