




"""simple docstring"""


import qiskit


def 					UpperCAmelCase__       (snake_case__							:					int		,   snake_case__							:					int    ):
  """simple docstring"""

  _snake_case							:		Optional[int]								=  qiskit.Aer.get_backend("""aer_simulator"""    )

  # Create a Quantum Circuit acting on the q register
  _snake_case							:		Union[str, Any]								=  qiskit.QuantumCircuit(snake_case__		,   snake_case__    )

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

  # Execute the circuit on the simulator
  _snake_case							:		Optional[int]								=  qiskit.execute(snake_case__		,   snake_case__		,   shots=10_00    )

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


if __name__ == "__main__":
     print(F'''Total count for various states are: {single_qubit_measure(1, 1)}''')








"""simple docstring"""


import os
from typing import Dict, List, Tuple, TypeVar, Union


A_						=				TypeVar('''T''')

A_						=				Union[List[T], Tuple[T, ...]]
A_						=				Union[T, List[T], Dict[str, T]]
A_						=				Union[str, bytes, os.PathLike]


