
"""simple docstring"""

def 			lowercase__  (    lowerCAmelCase :    str       )       ->					int:






    """simple docstring"""




    UpperCAmelCase  	=    0
    for plain_chr in plain_text:
        UpperCAmelCase  	=    (
            ord(lowerCAmelCase       ) + (hash_value << 6) + (hash_value << 16) - hash_value
        )
    return hash_value





"""simple docstring"""

import doctest

import projectq
from projectq.ops import H, Measure




def 			lowercase__  (    lowerCAmelCase :    projectq.cengines._main.MainEngine       )       ->					int:






    """simple docstring"""




    UpperCAmelCase  	=    quantum_engine.allocate_qubit()
    H | qubit
    Measure | qubit
    return int(lowerCAmelCase       )


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

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

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

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

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



