




import qiskit

def      _SCREAMING_SNAKE_CASE     (				lowercase      :			int      ,				lowercase      :			int	):


      '''simple docstring'''



      lowerCamelCase_							=       qiskit.Aer.get_backend('aer_simulator'	)

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

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

      # Execute the circuit on the simulator
      lowerCamelCase_							=       qiskit.execute(lowercase      ,				lowercase      ,				shots=10_00	)

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


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







'''simple docstring'''
from __future__ import annotations

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int | None = None							,    __UpperCamelCase					:       int | None = None		)					->	None:







     """simple docstring"""
     if start is None:
          _A				=							0

     if end is None:
          _A				=							len(__UpperCamelCase		) - 1

     if start >= end:
          return

     _A				=							(start + end) // 2

     slowsort(__UpperCamelCase							,    __UpperCamelCase							,    __UpperCamelCase		)
     slowsort(__UpperCamelCase							,    mid + 1							,    __UpperCamelCase		)

     if sequence[end] < sequence[mid]:
          _A		,				_A				=							sequence[mid], sequence[end]

     slowsort(__UpperCamelCase							,    __UpperCamelCase							,    end - 1		)


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

    testmod()





