





"""simple docstring"""


import qiskit




def 					lowercase__    (					lowercase_		,lowercase_			)					->		qiskit.result.counts.Counts:




      """simple docstring"""

      _UpperCamelCase      :	Optional[Any]						=       qiskit.Aer.get_backend("aer_simulator"			)

      # Create a Quantum Circuit acting on the q register
      _UpperCamelCase      :	str						=       qiskit.QuantumCircuit(lowercase_		,lowercase_			)

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

      # Execute the circuit on the simulator
      _UpperCamelCase      :	str						=       qiskit.execute(lowercase_		,lowercase_		,shots=1_000			)

      # 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 dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Value
from .base import TaskTemplate



@dataclass(frozen=_UpperCamelCase   )
class      __SCREAMING_SNAKE_CASE    (						_UpperCamelCase   ):







  '''simple docstring'''


  SCREAMING_SNAKE_CASE__							:str	     =					field(default="summarization"		,  metadata={"include_in_asdict_even_if_is_default": True}   )
  SCREAMING_SNAKE_CASE__							:ClassVar[Features]	     =					Features({"text": Value("string"   )}   )
  SCREAMING_SNAKE_CASE__							:ClassVar[Features]	     =					Features({"summary": Value("string"   )}   )
  SCREAMING_SNAKE_CASE__							:str	     =					"text"
  SCREAMING_SNAKE_CASE__							:str	     =					"summary"

  @property
  def    __SCREAMING_SNAKE_CASE				(		self   :       List[Any]	)		->				Dict[str, str]:
        return {self.text_column: "text", self.summary_column: "summary"}
