




'''simple docstring'''



import pprint

import requests

UpperCamelCase_    	=				"https://zenquotes.io/api"




def   lowercase__(			):

      """simple docstring"""






      return requests.get(API_ENDPOINT_URL + '/today'    ).json()




def   lowercase__(			):

      """simple docstring"""






      return requests.get(API_ENDPOINT_URL + '/random'    ).json()


if __name__ == "__main__":
      UpperCamelCase_    	=				random_quotes()
      pprint.pprint(response)






import qiskit


def     lowercase	(    a     , a ):



		'''simple docstring'''




		SCREAMING_SNAKE_CASE_				:int				     =						qiskit.Aer.get_backend("aer_simulator" )

		# Create a Quantum Circuit acting on the q register
		SCREAMING_SNAKE_CASE_				:Union[str, 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
		SCREAMING_SNAKE_CASE_				:Any				     =						qiskit.execute(a     , a     , shots=1000 )

		# 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}''')






