






import doctest

import projectq
from projectq.ops import H, Measure







def 	SCREAMING_SNAKE_CASE							(      __lowerCAmelCase    )				->			int:
     UpperCamelCase__    :     Optional[int]        =						quantum_engine.allocate_qubit()
     H | qubit
     Measure | qubit
     return int(__lowerCAmelCase    )


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

 # initialises a new quantum backend
 lowerCamelCase			:							Dict       =projectq.MainEngine()

 # Generate a list of 10 random numbers
 lowerCamelCase			:							Optional[Any]       =[get_random_number(quantum_engine) for _ in range(10)]

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

 print('''Random numbers''', random_numbers_list)







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


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

 testmod()