

# Function to print upper half of diamond (pyramid)














def 		_UpperCamelCase				(      UpperCamelCase_    :   Optional[Any]						)					->				List[str]:

						"""simple docstring"""



						for i in range(0      ,    UpperCamelCase_						):
												for _ in range(0      ,    n - i - 1						):  # printing spaces
																		print(' '      ,    end=''						)
												for _ in range(0      ,    i + 1						):  # printing stars
																		print('* '      ,    end=''						)
												print()







def 		_UpperCamelCase				(      UpperCamelCase_    :   Tuple						)					->				int:

						"""simple docstring"""



						for i in range(UpperCamelCase_      ,    0      ,    -1						):
												for _ in range(UpperCamelCase_      ,    0      ,    -1						):  # printing stars
																		print('* '      ,    end=''						)
												print()
												for _ in range(n - i + 1      ,    0      ,    -1						):  # printing spaces
																		print(' '      ,    end=''						)







def 		_UpperCamelCase				(      UpperCamelCase_    :   Optional[int]						)					->				Any:

						"""simple docstring"""



						if n <= 0:
												print('       ...       ....        nothing printing :('						)
												return
						floyd(UpperCamelCase_						)  # upper half
						reverse_floyd(UpperCamelCase_						)  # lower half


if __name__ == "__main__":
					print(R"""| /\ | |- |  |-  |--| |\  /| |-""")
					print(R"""|/  \| |- |_ |_  |__| | \/ | |_""")
					__snake_case      :      Optional[Any]             =       1
					while K:
										__snake_case      :      List[str]             =       int(input("""enter the number and , and see the magic : """))
										print()
										pretty_print(user_number)
										__snake_case      :      Any             =       int(input("""press 0 to exit... and 1 to continue..."""))

					print("""Good Bye...""")













import qiskit







def 		_UpperCamelCase				(      UpperCamelCase_    :   int      ,    UpperCamelCase_    :   int						)					->				qiskit.result.counts.Counts:

						"""simple docstring"""



						lowerCAmelCase__        =  qiskit.Aer.get_backend('aer_simulator'						)

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

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

						# Execute the circuit on the simulator
						lowerCAmelCase__        =  qiskit.execute(UpperCamelCase_      ,    UpperCamelCase_      ,    shots=1000						)

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


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





