'''simple docstring'''

import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
  print("""Googling.....""")
  __a:			List[Any]	       =       """https://www.google.com/search?q=""" + """ """.join(sys.argv[1:])
  __a:			int	       =       requests.get(url, headers={"""UserAgent""": UserAgent().random})
  # res.raise_for_status()
  with open("""project1a.html""", """wb""") as out_file:  # only for knowing the class
    for data in res.iter_content(1_00_00):
      out_file.write(data)
  __a:			Any	       =       BeautifulSoup(res.text, """html.parser""")
  __a:			Union[str, Any]	       =       list(soup.select(""".eZt8xd"""))[:5]

  print(len(links))
  for link in links:
    if link.text == "Maps":
      webbrowser.open(link.get("""href"""))
    else:
      webbrowser.open(F'https://google.com{link.get("href")}')


'''simple docstring'''

import qiskit
def       __UpperCamelCase	(       UpperCAmelCase		,					UpperCAmelCase					):
 lowercase__    :   Dict						= qiskit.Aer.get_backend('''aer_simulator'''					)

 # Create a Quantum Circuit acting on the q register
 lowercase__    :   Any						= qiskit.QuantumCircuit(UpperCAmelCase		,					UpperCAmelCase					)

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

 # Execute the circuit on the simulator
 lowercase__    :   Any						= 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)}')

