


import qiskit
def 				UpperCAmelCase_					(							__snake_case     ,						__snake_case						)     ->			qiskit.result.counts.Counts:







 """simple docstring"""


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

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

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

 # Execute the circuit on the simulator
 _lowercase							      =qiskit.execute(__snake_case     ,						__snake_case     ,						shots=1000						)

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


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





import requests
from bsa import BeautifulSoup
def 				UpperCAmelCase_					(							__snake_case = "https://www.worldometers.info/coronavirus"						)     ->			dict:







 """simple docstring"""


 _lowercase							      =BeautifulSoup(requests.get(__snake_case						).text     ,						'''html.parser'''						)
 _lowercase							      =soup.findAll('''h1'''						)
 _lowercase							      =soup.findAll('''div'''     ,						{'''class''': '''maincounter-number'''}						)
 keys += soup.findAll('''span'''     ,						{'''class''': '''panel-title'''}						)
 values += soup.findAll('''div'''     ,						{'''class''': '''number-table-main'''}						)
 return {key.text.strip(): value.text.strip() for key, value in zip(__snake_case     ,						__snake_case						)}


if __name__ == "__main__":
  print('''\033[1m''' + '''COVID-19 Status of the World''' + '''\033[0m\n''')
  for key, value in world_covidaa_stats().items():
    print(f'''{key}\n{value}\n''')

