Aracılığıyla paylaş


rigetti Package

Defines targets and helper functions for the Rigetti provider

Classes

InputParams
Result

Downloads the data of a completed Job and extracts the Readout for each register.


   from azure.quantum.job import Job
   from azure.quantum.target.rigetti import Result
   job = Job(...)  # This job should come from a Rigetti target
   job.wait_until_completed()
   result = Result(job)
   ro_data = result["ro"]
   first_shot_data = ro_data[0]

Decode the results of a Job with output type of "rigetti.quil-results.v1"

Rigetti

Rigetti target, defaults to the simulator RigettiTarget.QVM

In order to process the results of a Quil input to this target, we recommend using the included Result class.

Initializes a new target.

Enums

RigettiTarget

The known targets for the Rigetti provider

See https://qcs.rigetti.com/qpus for details on a QPU target.