Connects given registers into one root register and returns that root. If registers was already connected, returns simply their root register. It is strongly required before doing any operation on qubits in different registers. This method is used at the begin of every operation from namespace Quantum.Operations, as these methods usually operate on more than one register.Namespace: Quantum
Assembly: Quantum (in Quantum.dll) Version: 126.96.36.199 (188.8.131.52)
- Type: Quantum RegisterRef
Registers or references to single qubits. Registers could be passed here, because they are implicitly casted to RegisterRef type.
Return ValueType: Register
Root register, that contains connected registers given in arguments.