
import qiskit

def 				SCREAMING_SNAKE_CASE     (      __UpperCamelCase :						int							,						__UpperCamelCase :						int       ) ->       qiskit.result.counts.Counts:

				"""simple docstring"""







				A__  :	str         =							qiskit.Aer.get_backend('''aer_simulator'''       )

				# Create a Quantum Circuit acting on the q register
				A__  :	int         =							qiskit.QuantumCircuit(__UpperCamelCase							,						__UpperCamelCase       )

				# 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
				A__  :	List[str]         =							qiskit.execute(__UpperCamelCase							,						__UpperCamelCase							,						shots=10_00       )

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


if __name__ == "__main__":
					_SCREAMING_SNAKE_CASE    :      Tuple          =			single_qubit_measure(2, 2)
					print(f"""Total count for various states are: {counts}""")

from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
					if not (is_transformers_available() and is_torch_available()):
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					from ...utils.dummy_torch_and_transformers_objects import KandinskyPipeline, KandinskyPriorPipeline
else:
					from .pipeline_kandinsky import KandinskyPipeline
					from .pipeline_kandinsky_imgaimg import KandinskyImgaImgPipeline
					from .pipeline_kandinsky_inpaint import KandinskyInpaintPipeline
					from .pipeline_kandinsky_prior import KandinskyPriorPipeline, KandinskyPriorPipelineOutput
					from .text_encoder import MultilingualCLIP