@@ -27,12 +27,11 @@ class PasqalLocalJob(PasqalJob):
2727
2828 def __init__ (self , backend : PasqalBackend , job_id : str , ** kwargs : Any ):
2929 """
30- A Pasqal job for local emulators .
30+ A Pasqal job for local backends .
3131
3232 Args:
33- backend: Pasqal backends (must be an emulator)
33+ backend: Pasqal backend instance
3434 job_id: job id of the execution
35- emulator: which emulator to use
3635 **kwargs: extra arguments if needed
3736 """
3837
@@ -65,7 +64,7 @@ def cancel(self) -> Any:
6564
6665
6766class PasqalRemoteJob (PasqalJob ):
68- """A Pasqal job for remote executors (emulator or QPU) ."""
67+ """A Pasqal job for remote cloud executors ."""
6968
7069 _backend : PasqalBackend
7170 _result : PrimitiveResult [SamplerPubResult ] | None
@@ -82,7 +81,7 @@ def __init__(
8281 ** kwargs : Any ,
8382 ):
8483 """
85- A Pasqal job for remote executors (emulator or QPU) .
84+ A Pasqal job for remote cloud executors .
8685
8786 Args:
8887 job_id: job id of the execution
@@ -140,8 +139,8 @@ def submit(self) -> None:
140139 self ._status = JobStatus .RUNNING
141140
142141 create_batch_kwargs : dict [str , Any ] = {"wait" : self ._wait }
143- if self ._backend .emulator is not None :
144- create_batch_kwargs ["emulator " ] = self ._backend .emulator
142+ if self ._backend .device_type is not None :
143+ create_batch_kwargs ["device_type " ] = self ._backend .device_type
145144
146145 self ._batch = self ._executor .create_batch (
147146 self ._seq .to_abstract_repr (),
0 commit comments