


def 							__lowerCamelCase		(					UpperCAmelCase_		:						int					,    UpperCAmelCase_		:						int		):




      """simple docstring"""





      if b == 0:
            return 1
      if (b % 2) == 0:
            return actual_power(UpperCAmelCase_					,    int(b / 2		)		) * actual_power(UpperCAmelCase_					,    int(b / 2		)		)
      else:
            return a * actual_power(UpperCAmelCase_					,    int(b / 2		)		) * actual_power(UpperCAmelCase_					,    int(b / 2		)		)
def 							__lowerCamelCase		(					UpperCAmelCase_		:						int					,    UpperCAmelCase_		:						int		):




      """simple docstring"""





      if b < 0:
            return 1 / actual_power(UpperCAmelCase_					,    UpperCAmelCase_		)
      return actual_power(UpperCAmelCase_					,    UpperCAmelCase_		)


if __name__ == "__main__":
     print(power(-2, -3))









import qiskit
def 							__lowerCamelCase		(					UpperCAmelCase_		:						int					,    UpperCAmelCase_		:						int		):




      """simple docstring"""





      a		:Tuple									=			qiskit.Aer.get_backend('''aer_simulator'''		)

      # Create a Quantum Circuit acting on the q register
      a		:str									=			qiskit.QuantumCircuit(UpperCAmelCase_					,    UpperCAmelCase_		)

      # 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
      a		:Optional[Any]									=			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__":
     snake_case							:       Any										=	single_qubit_measure(2, 2)
     print(F"""Total count for various states are: {counts}""")





