Perform the Hadamard (square root of Not) operation to the specified qubits.
| C# | Visual Basic | Visual C++ |
IQuantumRegister OperationHadamard( int[] Indexes )
Function OperationHadamard ( _ Indexes As Integer() _ ) As IQuantumRegister
IQuantumRegister^ OperationHadamard( array<int>^ Indexes )
- Indexes (array< Int32 >[]()[])
- Indexes of qubits to apply the operations to.
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the indexes do not exist
in the register. |