






"""simple docstring"""


def        UpperCAmelCase      (					a__ ):





						'''simple docstring'''






						lowerCAmelCase   :Tuple						=			len(a__ )
						for i in range(length - 1 ):
												lowerCAmelCase   :Optional[int]						=			i
												for k in range(i + 1     ,      a__ ):
																		if collection[k] < collection[least]:
																								lowerCAmelCase   :Dict						=			k
												if least != i:
																		lowerCAmelCase	, lowerCAmelCase   :Any						=			(collection[i], collection[least])
						return collection


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







"""simple docstring"""


import qiskit


def        UpperCAmelCase      (					a__     ,      a__ ):





						'''simple docstring'''






						lowerCAmelCase   :List[Any]						=			qiskit.Aer.get_backend('aer_simulator' )

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