Apply the Hadamard (square root of Not) operation to the specified qubit.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationHadamard( int Index )
Function OperationHadamard ( _ Index As Integer _ ) As IQuantumRegister
IQuantumRegister^ OperationHadamard( int Index )
- Index (Int32)
- Index to apply the operation to.
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the index does not exist in
the register. |