Register PropertiesA Sandcastle Documented Class Library

The Register type exposes the following members.

Properties

  NameDescription
Public propertyItem Int32 
Returns reference to single qubit in register.
Public propertyItem Int32, Int32 
Returns a sub-register, which begins at given offset and has given width.
Public propertyOffsetToRoot
Right after creation, register is independent and its OffsetToRoot equals 0. But after operations on many registers, included this, Register could be entangled with others and is no longer independent. The group of entangled registers has its RootRegister. Each register in such group is de facto a part of the Root. OffsetToRoot describes offset (from Least Significant Bit, which offset is 0) of the part in RootRegister.
Public propertyWidth
The number of qubits contained in Register.
Top
See Also