





'''simple docstring'''

def 						UpperCamelCase    (							_lowerCamelCase : list[int]						,	_lowerCamelCase : str	):
				A__    =      int(_lowerCamelCase	)

				# Initialize Result
				A__    =      []

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

				return answer


# Driver Code
if __name__ == "__main__":
		__lowerCAmelCase							:     Dict		     =[]
		__lowerCAmelCase							:     Optional[Any]		     ="0"

		if (
		    input("Do you want to enter your denominations ? (yY/n): ").strip().lower()
		    == "y"
		):
				__lowerCAmelCase							:     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()))
				__lowerCAmelCase							:     int		     =input("Enter the change you want to make in Indian Currency: ").strip()
		else:
				# All denominations of Indian Currency if user does not enter
				__lowerCAmelCase							:     Tuple		     =[1, 2, 5, 10, 20, 50, 100, 500, 2000]
				__lowerCAmelCase							:     List[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}: """)
				__lowerCAmelCase							:     int		     =find_minimum_change(denominations, value)
				# Print result
				for i in range(len(answer)):
						print(answer[i], end=" ")










'''simple docstring'''

import qiskit





def 						UpperCamelCase    (							_lowerCamelCase : int						,	_lowerCamelCase : int	):
    A__    =      qiskit.Aer.get_backend("aer_simulator"	)

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

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

    # Execute the circuit on the simulator
    A__    =      qiskit.execute(_lowerCamelCase						,	_lowerCamelCase						,	shots=10_00	)

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


if __name__ == "__main__":
  print(f"""Total count for various states are: {single_qubit_measure(1, 1)}""")



