
def lowercase_	(   _lowercase			,       _lowercase			,       _lowercase				)     ->							int:
					'''simple docstring'''

					if exponent == 1:
										return base
					if exponent % 2 == 0:
										lowerCamelCase_					:      int     =		_modexpt(_lowercase			,       exponent // 2			,       _lowercase				) % modulo_value
										return (x * x) % modulo_value
					else:
										return (base * _modexpt(_lowercase			,       exponent - 1			,       _lowercase				)) % modulo_value




def lowercase_	(   _lowercase = 1_777			,       _lowercase = 1_855			,       _lowercase = 8				)     ->							int:
					'''simple docstring'''

					lowerCamelCase_					:      Union[str, Any]     =		base
					for _ in range(1			,       _lowercase				):
										lowerCamelCase_					:      List[Any]     =		_modexpt(_lowercase			,       _lowercase			,       10**digits				)

					return result


if __name__ == "__main__":
					print(f'{solution() = }')




'''simple docstring'''


import qiskit




def lowercase_	(   _lowercase			,       _lowercase				)     ->							qiskit.result.counts.Counts:
					'''simple docstring'''

					lowerCamelCase_					:      Optional[Any]     =		qiskit.Aer.get_backend('''aer_simulator'''				)

					# Create a Quantum Circuit acting on the q register
					lowerCamelCase_					:      Optional[int]     =		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_					:      Optional[int]     =		qiskit.execute(_lowercase			,       _lowercase			,       shots=1_000				)

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


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


