
"""simple docstring"""


import qiskit






def 					_snake_case (						snake_case__      :   int = 2   ):
	A        =      qubits

	# Using Aer's simulator
	A        =      qiskit.Aer.get_backend('aer_simulator'   )

	# Creating a Quantum Circuit acting on the q register
	A        =      qiskit.QuantumCircuit(snake_case__		,					snake_case__   )

	# Adding a H gate on qubit 0 (now q0 in superposition)
	circuit.h(0   )

	for i in range(1		,					snake_case__   ):
		# Adding CX (CNOT) gate
		circuit.cx(i - 1		,					snake_case__   )

	# Mapping the quantum measurement to the classical bits
	circuit.measure(list(range(snake_case__   )   )		,					list(range(snake_case__   )   )   )

	# Now measuring any one qubit would affect other qubits to collapse
	# their super position and have same state as the measured one.

	# Executing the circuit on the simulator
	A        =      qiskit.execute(snake_case__		,					snake_case__		,					shots=1000   )

	return job.result().get_counts(snake_case__   )


if __name__ == "__main__":
		print(F"""Total count for various states are: {quantum_entanglement(3)}""")
"""simple docstring"""







__SCREAMING_SNAKE_CASE    	=[
    "DownloadConfig",
    "DownloadManager",
    "DownloadMode",
    "StreamingDownloadManager",
]

from .download_config import DownloadConfig
from .download_manager import DownloadManager, DownloadMode
from .streaming_download_manager import StreamingDownloadManager

