Slicing may result in a subset of the register being exposed. This gets the
total length of the register, which includes qubits that may be hidden
through slicing.
| C# | Visual Basic | Visual C++ |
public int GetTotalLength()
Public Function GetTotalLength As Integer
public: virtual int GetTotalLength() sealed
The total number of qubits in the register, some of which
may be hidden.