





'''simple docstring'''







import qiskit





def   _lowerCAmelCase		(		lowercase   ,      lowercase      )   ->   qiskit.result.counts.Counts:
			__lowerCAmelCase   		=							qiskit.Aer.get_backend("""aer_simulator"""      )

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

			# 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
			__lowerCAmelCase   		=							qiskit.execute(lowercase   ,      lowercase   ,      shots=1000      )

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


if __name__ == "__main__":
	_a   :					List[str]           =       single_qubit_measure(2, 2)
	print(f'Total count for various states are: {counts}')








'''simple docstring'''

def    a__							(							lowercase   :	str )						->						int:





     """simple docstring"""

     assert column_title.isupper()
     _UpperCamelCase							       =			0
     _UpperCamelCase							       =			len(lowercase ) - 1
     _UpperCamelCase							       =			0

     while index >= 0:
          _UpperCamelCase							       =			(ord(column_title[index] ) - 64) * pow(26,   lowercase )
          answer += value
          power += 1
          index -= 1

     return answer


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

   testmod()



