


'''simple docstring'''


import doctest

import projectq
from projectq.ops import H, Measure






def 			__lowerCAmelCase			(__lowerCAmelCase ):
		_UpperCAmelCase		:							int             =   quantum_engine.allocate_qubit()
		H | qubit
		Measure | qubit
		return int(__lowerCAmelCase )


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

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

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

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

						print('Random numbers', random_numbers_list)







'''simple docstring'''


def 			__lowerCAmelCase			(__lowerCAmelCase ):
		return "".join(chr(ord(__lowerCAmelCase ) + 32 ) if "A" <= char <= "Z" else char for char in word )


if __name__ == "__main__":
						from doctest import testmod

						testmod()



