Get the length of the quantum register.
Declaration Syntax
C# | Visual Basic | Visual C++ |
int GetLength()
Function GetLength As Integer
int GetLength()
Return Value
The number of qubits in the register
C# | Visual Basic | Visual C++ |
int GetLength()
Function GetLength As Integer
int GetLength()