IBM Quantum
IBM offers a variety of quantum devices. With Luna, you can seamlessly access these QPUs — available under our paid plans — to run quantum algorithms on actual quantum hardware.
Running on IBM Hardware
This backend executes circuits on real IBM quantum hardware. An IBM Quantum token and
instance are required. Browse available devices and instances on the
IBM Quantum Platform and set your target
device via backend_name. If backend_name=None, the least busy eligible device is
selected automatically.
Using Environment Variables
You can set your IBM API token via environment variables to avoid passing it during initialization:
Initialization
Python
from luna_quantum.solve.parameters.backends.ibm.hardware import IBMQuantum
backend = IBMQuantum(
backend_type='ibm_quantum',
backend_name=None,
dynamical_decoupling={},
optimization_level=2,
use_session=False,
token=None,
instance=None
)