'''simple docstring'''

import qiskit







def      UpperCamelCase_						(					snake_case_       :       int						,		snake_case_       :       int      )					->     qiskit.result.counts.Counts:






 '''simple docstring'''

 __lowerCAmelCase											=						qiskit.Aer.get_backend("""aer_simulator"""      )

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

 # 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
 __lowerCAmelCase											=						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__":
 _A			:      Any					      =				single_qubit_measure(2, 2)
 print(f'Total count for various states are: {counts}')







'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


_A			:      Optional[int]					      =				logging.get_logger(__name__)







class 				_lowercase     (				UpperCAmelCase__			):


 '''simple docstring'''






 def __init__(      self   :	Dict      ,       *SCREAMING_SNAKE_CASE__   :	Optional[int]      ,       **SCREAMING_SNAKE_CASE__   :	List[str]							)  ->    None:
  warnings.warn(
      """The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
      """ Please use SegformerImageProcessor instead."""      ,       SCREAMING_SNAKE_CASE__      ,       )
  super().__init__(*SCREAMING_SNAKE_CASE__      ,       **SCREAMING_SNAKE_CASE__							)






