quantum.backend.QuantumTaskAWS Class
Namespace: quantum.backend
Installation Required: This functionality requires MATLAB Support Package for Quantum Computing.
Description
A QuantumTaskAWS
object represents a task sent for execution on a
quantum device that is available through Amazon® Web Services (AWS®). To work with remote devices and data using AWS, you must first set up access following the steps in Run Quantum Circuit on Hardware Using AWS.
The quantum.backend.QuantumTaskAWS
class is a handle
class.
Creation
Use the run
function to
run a quantum circuit remotely on a quantum device available through AWS and return the task as a QuantumTaskAWS
object.
Additionally, you can create a QuantumTaskAWS
object from an existing
remote task on AWS using the task ARN (Amazon Resource Name) with the following syntax.
Description
returns a task
= quantum.backend.QuantumTaskAWS(taskARN)QuantumTaskAWS
handle object that is attached to an existing
remote task on AWS with the specified task ARN. You can retrieve the task ARN of an existing
task by accessing its TaskARN
property value or by using the
AWS web interface. This syntax sets the TaskARN property to
taskARN
.
A remote task expires after some time. Use fetchOutput
on the QuantumTaskAWS
object and save the returned
QuantumMeasurement
object to store the result.
Note
Saving and loading QuantumTaskAWS
objects in MATLAB® are not supported. To check on a task from a previous MATLAB session, save the TaskARN
property value of the
QuantumTaskAWS
object from the previous session and construct a new
QuantumTaskAWS
object in the new MATLAB session.
Properties
Methods
Examples
Version History
Introduced in R2023a