
def      UpperCamelCase   (       __lowerCamelCase	:					str       ):
       assert column_title.isupper()
       snake_case			:  Tuple     							= 0
       snake_case			:  Any     							= len(__lowerCamelCase       ) - 1
       snake_case			:  str     							= 0

       while index >= 0:
              snake_case			:  Union[str, Any]     							= (ord(column_title[index]       ) - 64) * pow(26							,   __lowerCamelCase       )
              answer += value
              power += 1
              index -= 1

       return answer


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

   testmod()







import qiskit


def      UpperCamelCase   (       __lowerCamelCase	:					int							,   __lowerCamelCase	:					int       ):
       snake_case			:  int     							= qiskit.Aer.get_backend("aer_simulator"       )

       # Create a Quantum Circuit acting on the q register
       snake_case			:  Dict     							= qiskit.QuantumCircuit(__lowerCamelCase							,   __lowerCamelCase       )

       # 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
       snake_case			:  Dict     							= qiskit.execute(__lowerCamelCase							,   __lowerCamelCase							,   shots=1000       )

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


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





