



import qiskit






def  UpperCAmelCase__    (    lowercase__						,       lowercase__   ) ->      qiskit.result.counts.Counts:
						__lowercase					=				qiskit.Aer.get_backend("""aer_simulator"""   )

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

						# Map the quantum measurement to the classical bits
						circuit.measure([0]						,       [0]   )

						# Execute the circuit on the simulator
						__lowercase					=				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__":
			print(F"""Total count for various states are: {single_qubit_measure(1, 1)}""")










def  UpperCAmelCase__    (    lowercase__						,       lowercase__   ) ->      int:
						if len(lowercase__   ) != len(lowercase__   ):
												raise ValueError("""String lengths must match!"""   )

						__lowercase					=				0

						for chara, chara in zip(lowercase__						,       lowercase__   ):
												if chara != chara:
																		count += 1

						return count


if __name__ == "__main__":
			import doctest

			doctest.testmod()





