bloqade.analog.ir.routine.quera.QuEraHardwareRoutine
← Module overview
class
method
method
source
classQuEraHardwareRoutine¶source
bloqade.analog.ir.routine.quera.QuEraHardwareRoutine
Bases: RoutineBase
class QuEraHardwareRoutineAttributes
| Name | Type | Description |
|---|---|---|
backend | Union[QuEraBackend, MockBackend] |
methodrun_async¶source
bloqade.analog.ir.routine.quera.QuEraHardwareRoutine.run_async
Signature
def run_async(shots: int, args: Tuple[LiteralType, ...] = (), name: Optional[str] = None, use_experimental: bool = False, shuffle: bool = False, **kwargs={}) -> RemoteBatchCompile to a RemoteBatch, which contain QuEra backend specific tasks, and run_async through QuEra service.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
shots | int | required | number of shots |
args | Tuple[LiteralType, ...] | () | additional arguments |
name | Optional[str] | None | custom name of the batch |
use_experimental | bool | False | |
shuffle | bool | False | shuffle the order of jobs |
**kwargs | — | {} |
Returns
RemoteBatch
Return
RemoteBatch
sourcemethodrun¶source
bloqade.analog.ir.routine.quera.QuEraHardwareRoutine.run
Signature
def run(shots: int, args: Tuple[LiteralType, ...] = (), name: Optional[str] = None, use_experimental: bool = False, shuffle: bool = False, **kwargs={}) -> RemoteBatchParameters
| Name | Type | Default | Description |
|---|---|---|---|
shots | int | required | |
args | Tuple[LiteralType, ...] | () | |
name | Optional[str] | None | |
use_experimental | bool | False | |
shuffle | bool | False | |
**kwargs | — | {} |
Returns
RemoteBatch