Get the length of the quantum register. Note that due to slicing
this length may be smaller than all the qubits actually contained in
the register.
| C# | Visual Basic | Visual C++ |
public int GetLength()
Public Function GetLength As Integer
public: virtual int GetLength() sealed
The number of qubits exposed in the register