# PrepareEntangledState operation

Pairwise entangles two qubit registers.

That is, given two registers, prepares the maximally entangled state $\frac{1}{\sqrt{2}} \left(\ket{00} + \ket{11} \right)$ between each pair of qubits on the respective registers, assuming that each register starts in the $\ket{0\cdots 0}$ state.

operation PrepareEntangledState (left : Qubit[], right : Qubit[]) : Unit
Functors

## Input

left
Qubit[]

A qubit array in the $\ket{0\cdots 0}$ state

right
Qubit[]

A qubit array in the $\ket{0\cdots 0}$ state

Unit