
'''simple docstring'''
from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

__lowerCAmelCase												=	'https://www.indeed.co.in/jobs?q=mobile+app+development&l='






def  __SCREAMING_SNAKE_CASE				(  _SCREAMING_SNAKE_CASE = "mumbai"				):
							_snake_case       =  BeautifulSoup(requests.get(url + location				).content							, """html.parser"""				)
							# This attribute finds out all the specifics listed in a job
							for job in soup.find_all("""div"""							, attrs={"""data-tn-component""": """organicJob"""}				):
														_snake_case       =  job.find("""a"""							, attrs={"""data-tn-element""": """jobTitle"""}				).text.strip()
														_snake_case       =  job.find("""span"""							, {"""class""": """company"""}				).text.strip()
														yield job_title, company_name


if __name__ == "__main__":
				for i, job in enumerate(fetch_jobs('Bangalore'), 1):
								print(f'''Job {i:>2} is {job[0]} at {job[1]}''')

'''simple docstring'''
import qiskit






def  __SCREAMING_SNAKE_CASE				(  _SCREAMING_SNAKE_CASE							, _SCREAMING_SNAKE_CASE				):
							_snake_case       =  qiskit.Aer.get_backend("""aer_simulator"""				)

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

							# 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
							_snake_case       =  qiskit.execute(_SCREAMING_SNAKE_CASE							, _SCREAMING_SNAKE_CASE							, shots=1000				)

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


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