Perform the Y gate operation to the qubit.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationYGate()
Function OperationYGate As IQuantumRegister
IQuantumRegister^ OperationYGate()
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
SizeMismatchException | Thrown if the register does
not contain one qubit. |