

from ... import PretrainedConfig


__snake_case      :      str             =       {
    """sijunhe/nezha-cn-base""": """https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json""",
}


class       __SCREAMING_SNAKE_CASE   (				__lowercase):
						_SCREAMING_SNAKE_CASE		:    Union[str, Any]						=   NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
						_SCREAMING_SNAKE_CASE		:    Union[str, Any]						=   '''nezha'''






						def __init__(		self       ,  _UpperCamelCase=2_11_28       ,  _UpperCamelCase=7_68       ,  _UpperCamelCase=12       ,  _UpperCamelCase=12       ,  _UpperCamelCase=30_72       ,  _UpperCamelCase="gelu"       ,  _UpperCamelCase=0.1       ,  _UpperCamelCase=0.1       ,  _UpperCamelCase=5_12       ,  _UpperCamelCase=64       ,  _UpperCamelCase=2       ,  _UpperCamelCase=0.02       ,  _UpperCamelCase=1E-12       ,  _UpperCamelCase=0.1       ,  _UpperCamelCase=0       ,  _UpperCamelCase=2       ,  _UpperCamelCase=3       ,  _UpperCamelCase=True       ,  **_UpperCamelCase       ,  ):






												"""simple docstring"""
												super().__init__(pad_token_id=_UpperCamelCase       ,  bos_token_id=_UpperCamelCase       ,  eos_token_id=_UpperCamelCase       ,  **_UpperCamelCase				)

												lowerCAmelCase__        =  vocab_size
												lowerCAmelCase__        =  hidden_size
												lowerCAmelCase__        =  num_hidden_layers
												lowerCAmelCase__        =  num_attention_heads
												lowerCAmelCase__        =  hidden_act
												lowerCAmelCase__        =  intermediate_size
												lowerCAmelCase__        =  hidden_dropout_prob
												lowerCAmelCase__        =  attention_probs_dropout_prob
												lowerCAmelCase__        =  max_position_embeddings
												lowerCAmelCase__        =  max_relative_position
												lowerCAmelCase__        =  type_vocab_size
												lowerCAmelCase__        =  initializer_range
												lowerCAmelCase__        =  layer_norm_eps
												lowerCAmelCase__        =  classifier_dropout
												lowerCAmelCase__        =  use_cache













import qiskit







def 		_UpperCamelCase				(      UpperCamelCase_    :   int      ,    UpperCamelCase_    :   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(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=1000						)

						# 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)}')





