


from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase__  :     Dict   			=logging.get_logger(__name__)

UpperCAmelCase__  :     Any   			={
    """sayakpaul/vit-msn-base""": """https://huggingface.co/sayakpaul/vit-msn-base/resolve/main/config.json""",
    # See all ViT MSN models at https://huggingface.co/models?filter=vit_msn
}

class  __A       (  __UpperCamelCase      ):
				__A								=			"""vit_msn"""


				def __init__(						self				,	UpperCAmelCase_=768				,	UpperCAmelCase_=12				,	UpperCAmelCase_=12				,	UpperCAmelCase_=3072				,	UpperCAmelCase_="gelu"				,	UpperCAmelCase_=0.0				,	UpperCAmelCase_=0.0				,	UpperCAmelCase_=0.0_2				,	UpperCAmelCase_=1E-06				,	UpperCAmelCase_=224				,	UpperCAmelCase_=16				,	UpperCAmelCase_=3				,	UpperCAmelCase_=True				,	**UpperCAmelCase_				,	):
								super().__init__(**UpperCAmelCase_							)

								lowerCamelCase			=hidden_size
								lowerCamelCase			=num_hidden_layers
								lowerCamelCase			=num_attention_heads
								lowerCamelCase			=intermediate_size
								lowerCamelCase			=hidden_act
								lowerCamelCase			=hidden_dropout_prob
								lowerCamelCase			=attention_probs_dropout_prob
								lowerCamelCase			=initializer_range
								lowerCamelCase			=layer_norm_eps
								lowerCamelCase			=image_size
								lowerCamelCase			=patch_size
								lowerCamelCase			=num_channels
								lowerCamelCase			=qkv_bias












import qiskit





def        _lowercase   (  _UpperCAmelCase     , _UpperCAmelCase			)  ->					qiskit.result.counts.Counts:
				lowerCamelCase			=qiskit.Aer.get_backend("""aer_simulator"""			)

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

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

				# Execute the circuit on the simulator
				lowerCamelCase			=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__":
							print(F"Total count for various states are: {single_qubit_measure(1, 1)}")





