






def      lowerCAmelCase__	(    _a       :			list[int]  ,      _a       :			str    ):
		snake_case_				:							str						 =       int(_a    )

		# Initialize Result
		snake_case_				:							Optional[Any]						 =       []

		# Traverse through all denomination
		for denomination in reversed(_a    ):
				# Find denominations
				while int(_a    ) >= int(_a    ):
						total_value -= int(_a    )
						answer.append(_a    )  # Append the "answers" array

		return answer


# Driver Code
if __name__ == "__main__":
							lowercase  :							List[str]			  =    []
							lowercase  :							int			  =    '''0'''

							if (
							    input('''Do you want to enter your denominations ? (yY/n): ''').strip().lower()
							    == "y"
							):
														lowercase  :							Optional[int]			  =    int(input('''Enter the number of denominations you want to add: ''').strip())

														for i in range(0, n):
																					denominations.append(int(input(F"""Denomination {i}: """).strip()))
														lowercase  :							str			  =    input('''Enter the change you want to make in Indian Currency: ''').strip()
							else:
														# All denominations of Indian Currency if user does not enter
														lowercase  :							List[str]			  =    [1, 2, 5, 10, 20, 50, 1_00, 5_00, 20_00]
														lowercase  :							Any			  =    input('''Enter the change you want to make: ''').strip()

							if int(value) == 0 or int(value) < 0:
														print('''The total value cannot be zero or negative.''')

							else:
														print(F"""Following is minimal change for {value}: """)
														lowercase  :							List[str]			  =    find_minimum_change(denominations, value)
														# Print result
														for i in range(len(answer)):
																					print(answer[i], end=''' ''')








import qiskit

def      lowerCAmelCase__	(    _a       :			int  ,      _a       :			int    ):
		snake_case_				:							Tuple						 =       qiskit.Aer.get_backend("aer_simulator"    )

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