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: 220.127.116.11 (18.104.22.168)
- 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.