@@ -81,7 +81,7 @@ class Session:
8181class Job :
8282 """A job represents a submitted quantum program execution."""
8383
84- def check (self ) -> Job . Status :
84+ def check (self ) -> Status :
8585 """Returns the current status of the job."""
8686
8787 def wait (self , timeout : int = 0 ) -> bool :
@@ -206,7 +206,7 @@ class Device:
206206 def version (self ) -> str :
207207 """Returns the version of the device."""
208208
209- def status (self ) -> Device . Status :
209+ def status (self ) -> Status :
210210 """Returns the current status of the device."""
211211
212212 def library_version (self ) -> str :
@@ -215,19 +215,19 @@ class Device:
215215 def qubits_num (self ) -> int :
216216 """Returns the number of qubits available on the device."""
217217
218- def sites (self ) -> list [Device . Site ]:
218+ def sites (self ) -> list [Site ]:
219219 """Returns the list of all sites (zone and regular sites) available on the device."""
220220
221- def regular_sites (self ) -> list [Device . Site ]:
221+ def regular_sites (self ) -> list [Site ]:
222222 """Returns the list of regular sites (without zone sites) available on the device."""
223223
224- def zones (self ) -> list [Device . Site ]:
224+ def zones (self ) -> list [Site ]:
225225 """Returns the list of zone sites (without regular sites) available on the device."""
226226
227- def operations (self ) -> list [Device . Operation ]:
227+ def operations (self ) -> list [Operation ]:
228228 """Returns the list of operations supported by the device."""
229229
230- def coupling_map (self ) -> list [tuple [Device . Site , Device . Site ]] | None :
230+ def coupling_map (self ) -> list [tuple [Site , Site ]] | None :
231231 """Returns the coupling map of the device as a list of site pairs."""
232232
233233 def needs_calibration (self ) -> int | None :
0 commit comments