original_docstring: Returns binary string for integer n with nmax qubits.
docstring: Returns binary string for integer n with nmax qubits.
docstring_tokens: Returns binary string for integer n with nmax qubits .
code: def binstr(n: int,
             nmax: int) -> str:
      """Returns binary string for integer n with nmax qubits."""
  
      return '0' * (nmax - len(bin(n)[2:])) + bin(n)[2:]
code_tokens: def binstr ( n : int , nmax : int ) -> str : return '0' * ( nmax - len ( bin ( n ) [ 2 : ] ) ) + bin ( n ) [ 2 : ]
short_docstring: Returns binary string for integer n with nmax qubits.
short_docstring_tokens: Returns binary string for integer n with nmax qubits .
comment: """Returns binary string for integer n with nmax qubits."""