
'''simple docstring'''
import qiskit






def      UpperCamelCase_				(      A__  ,      A__						):
	a_      				=						qiskit.Aer.get_backend("""aer_simulator"""						)

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

	# 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_      				=						qiskit.execute(A__  ,      A__  ,      shots=10_00						)

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


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


'''simple docstring'''
def      UpperCamelCase_				(      A__						):
	if len(A__						) <= 1:
		return lst

	a_      				=						1

	while i < len(A__						):
		if lst[i - 1] <= lst[i]:
			i += 1
		else:
			a_				,  a_      				=						lst[i], lst[i - 1]
			i -= 1
			if i == 0:
				a_      				=						1

	return lst


if __name__ == "__main__":
		lowercase__											=input('Enter numbers separated by a comma:\n').strip()
		lowercase__											=[int(item) for item in user_input.split(',')]
		print(gnome_sort(unsorted))
