from dell_runtime import DellRuntimeProvider
from dell_runtime import BackendProvider

provider = BackendProvider()
provider.backends()

backend = provider.get_backend(name="emulator")

backend_config = backend.configuration()

backend_config.backend_name

from qiskit import QuantumCircuit, execute

qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0, 1], [0, 1])
job = backend.run(qc, shots=1024) 

result = job.result()

counts = result.get_counts(qc)

from qiskit.tools.visualization import plot_histogram, plot_state_city
plot_histogram(counts, title='Bell-State counts')

