


import qiskit






def  UpperCamelCase					(	__magic_name__     :							int    ,    __magic_name__     :							int     )   ->  qiskit.result.counts.Counts:
		"""simple docstring"""




		lowercase__     			=		qiskit.Aer.get_backend("""aer_simulator"""     )

		# Create a Quantum Circuit acting on the q register
		lowercase__     			=		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
		lowercase__     			=		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__":
	A       :		Dict    =   single_qubit_measure(2, 2)
	print(F'Total count for various states are: {counts}')



from __future__ import annotations

from fractions import Fraction




def  __magic_name__ (   __lowerCAmelCase	:						int		,  __lowerCAmelCase	:						int							)			->   bool:
				return (
				    num != den and num % 10 == den // 10 and (num // 10) / (den % 10) == num / den
				)




def  __magic_name__ (   __lowerCAmelCase	:						int							)			->   list[str]:
				__lowerCamelCase    					=	[]
				__lowerCamelCase    					=	11
				__lowerCamelCase    					=	int('''1''' + '''0''' * digit_len							)
				for num in range(__lowerCAmelCase		,  __lowerCAmelCase							):
								while den <= 99:
												if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
																if is_digit_cancelling(__lowerCAmelCase		,  __lowerCAmelCase							):
																				solutions.append(f'''{num}/{den}'''							)
												den += 1
								num += 1
								__lowerCamelCase    					=	10
				return solutions




def  __magic_name__ (   __lowerCAmelCase	:						int = 2							)			->   int:
				__lowerCamelCase    					=	1.0
				for fraction in fraction_list(__lowerCAmelCase							):
								__lowerCamelCase    					=	Fraction(__lowerCAmelCase							)
								result *= frac.denominator / frac.numerator
				return int(__lowerCAmelCase							)


if __name__ == "__main__":
					print(solution())



