Perform the Hadamard (square root of Not) operation on a qubit.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationHadamard()
Function OperationHadamard As IQuantumRegister
IQuantumRegister^ OperationHadamard()
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
SizeMismatchException | Thrown if the register contains
more than one qubit. |