





'''simple docstring'''





import qiskit

def       A__(		__lowerCAmelCase	,			__lowerCAmelCase ):
				_snake_case :			Optional[Any]  						=   qiskit.Aer.get_backend('aer_simulator' )

				# Create a Quantum Circuit acting on the q register
				_snake_case :			List[str]  						=   qiskit.QuantumCircuit(__lowerCAmelCase	,			__lowerCAmelCase )

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

				# Execute the circuit on the simulator
				_snake_case :			Tuple  						=   qiskit.execute(__lowerCAmelCase	,			__lowerCAmelCase	,			shots=10_00 )

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


if __name__ == "__main__":
		print(F'''Total count for various states are: {single_qubit_measure(1, 1)}''')













def       A__(		__lowerCAmelCase ):
				assert column_title.isupper()
				_snake_case :			List[Any]  						=   0
				_snake_case :			List[str]  						=   len(__lowerCAmelCase ) - 1
				_snake_case :			Dict  						=   0

				while index >= 0:
								_snake_case :			List[str]  						=   (ord(column_title[index] ) - 64) * pow(26	,			__lowerCAmelCase )
								answer += value
								power += 1
								index -= 1

				return answer


if __name__ == "__main__":
		from doctest import testmod

		testmod()






