



"""simple docstring"""







import doctest

import projectq
from projectq.ops import H, Measure

def 	lowerCAmelCase__      (  lowerCamelCase__      )			->				Optional[int]:
							A    =       quantum_engine.allocate_qubit()
							H | qubit
							Measure | qubit
							return int(lowerCamelCase__      )


if __name__ == "__main__":
							doctest.testmod()

							# initialises a new quantum backend
							A     =      projectq.MainEngine()

							# Generate a list of 10 random numbers
							A     =      [get_random_number(quantum_engine) for _ in range(1_0)]

							# Flushes the quantum engine from memory
							quantum_engine.flush()

							print('Random numbers', random_numbers_list)











def    a__    (	A       ):
   return int(A       ) if x - int(A       ) >= 0 else int(A       ) - 1


if __name__ == "__main__":
 import doctest

 doctest.testmod()


