Aracılığıyla paylaş


pasqal Package

Defines targets and helper functions for the Pasqal provider

Classes

InputParams

Input parameters

Pasqal

Pasqal target, defaults to the simulator PasqalTarget.SIM_EMU_TN

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

Initializes a new target.

Result

Downloads the data of a completed Job and provides a dictionary of registers.


   from azure.quantum.job import Job
   from azure.quantum.target.pasqal import Result
   job = Job(...)  # This job should come from a Pasqal target
   job.wait_until_completed()
   result = Result(job)

Decode the results of a Job with output type of "pasqal.pulser-results.v1"

Enums

PasqalTarget

The known targets for the Pasqal provider