quantum.backend.QuantumDeviceIBM Class
Namespace: quantum.backend
Installation Required: This functionality requires MATLAB Support Package for Quantum Computing.
Description
A QuantumDeviceIBM
object represents a specific quantum device that is
available through the IBM®
Qiskit® Runtime Services. To work with remote devices and data using IBM
Qiskit Runtime Services, you must first set up access following the steps in Run Quantum Circuit on Hardware Using IBM Qiskit Runtime Services.
The quantum.backend.QuantumDeviceIBM
class is a handle
class.
Creation
Description
returns a representation of the specified quantum device. The
dev
= quantum.backend.QuantumDeviceIBM(deviceName
)deviceName
input must uniquely define the device. This syntax sets
the Name property to
deviceName
.
specifies options using one or more name-value arguments.dev
= quantum.backend.QuantumDeviceIBM(deviceName
,Name=Value
)
You can specify the filename of a JSON file that contains your credentials for authentication with the Qiskit Runtime Services using
quantum.backend.QuantumDeviceIBM(deviceName,FileName=filename)
.You can specify the account name in the credentials file to use for authentication when connecting to the device using
quantum.backend.QuantumDeviceIBM(deviceName,AccountName=accountname)
.You can also specify whether to create tasks in a session using
quantum.backend.QuantumDeviceIBM(deviceName,UseSession=tf)
.
Note
Saving and loading QuantumDeviceIBM
objects in MATLAB® are not supported.