This structure represents a reference to a qubit in quantum register.
Namespace: QuantumAssembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The RegisterRef type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Properties
Name | Description | |
---|---|---|
![]() | Offset |
The offset of referenced qubit in the Register.
0 means the Least Significant Bit.
|
![]() | OffsetToRoot | The offset of referenced qubit, but in the root register. It is the same as Offset, when the Register is independent. The idea of root register is described in GetRootRegister( RegisterRef ) , or in GetAmplitudes(Register). |
![]() | Register |
The register containing the referenced qubit.
|
See Also