MultiX operation

Applies the gate $X \otimes X \otimes \cdots \otimes X$ to a register of qubits.

operation MultiX (qubits : Qubit[]) : ()
Functors
Adjoint Controlled

Input

qubits
Qubit[]

Register of qubits to which the gate is to be applied.

Output

()

Remarks

Equivalent to:

for (idxQubit in 0..Length(qubits) - 1) {
    X(qubits[idxQubit]);
}