






import qiskit






def     _snake_case    (__lowercase    ,      __lowercase):
   UpperCamelCase_									=     qiskit.Aer.get_backend('aer_simulator')

   # Create a Quantum Circuit acting on the q register
   UpperCamelCase_									=     qiskit.QuantumCircuit(__lowercase    ,      __lowercase)

   # Apply X (NOT) Gate to Qubits 0 & 1
   circuit.x(0)
   circuit.x(1)

   # Map the quantum measurement to the classical bits
   circuit.measure([0, 1]    ,      [0, 1])

   # Execute the circuit on the qasm simulator
   UpperCamelCase_									=     qiskit.execute(__lowercase    ,      __lowercase    ,      shots=1000)

   # Return the histogram data of the results of the experiment.
   return job.result().get_counts(__lowercase)


if __name__ == "__main__":
 snake_case__      :	List[str]       	=      single_qubit_measure(2, 2)
 print(f'Total count for various states are: {counts}')













snake_case__      :	List[Any]       	=      """Tobias Carryer"""

from time import time


class 						_a       :






  """simple docstring"""





  def __init__(     self		,		_UpperCAmelCase		,		_UpperCAmelCase		,		_UpperCAmelCase		,		_UpperCAmelCase=int(time() ) )			-> Tuple:  # noqa: B008
     UpperCamelCase_									=     multiplier
     UpperCamelCase_									=     increment
     UpperCamelCase_									=     modulo
     UpperCamelCase_									=     seed




  def    _UpperCAmelCase     (     self )			-> Any:
     UpperCamelCase_									=     (self.multiplier * self.seed + self.increment) % self.modulo
     return self.seed


if __name__ == "__main__":
 # Show the LCG in action.
 snake_case__      :	List[Any]       	=      LinearCongruentialGenerator(1_6_6_4_5_2_5, 1_0_1_3_9_0_4_2_2_3, 2 << 3_1)
 while True:
  print(lcg.next_number())





