@@ -111,8 +111,7 @@ def run(
111111 program_id = _get_program_id (program ),
112112 param_resolver = param_resolver ,
113113 repetitions = repetitions ,
114- processor_ids = [self .processor_id ],
115- gate_set = self .gate_set ,
114+ processor_id = self .processor_id ,
116115 )
117116
118117 def run_sweep (
@@ -127,7 +126,6 @@ def run_sweep(
127126 program_id = _get_program_id (program ),
128127 repetitions = repetitions ,
129128 processor_ids = [self .processor_id ],
130- gate_set = self .gate_set ,
131129 ).results ()
132130
133131 async def run_async (
@@ -139,7 +137,6 @@ async def run_async(
139137 program_id = program_id ,
140138 repetitions = repetitions ,
141139 processor_ids = [self .processor_id ],
142- gate_set = self .gate_set ,
143140 )
144141 job = engine_job ._refresh_job ()
145142 while True :
@@ -258,7 +255,7 @@ def get_sampler(self, gateset: Optional[str] = None):
258255 @property
259256 def device_obj (self ):
260257 dspec = self .engine .get_processor (self .processor_id ).get_device_specification ()
261- device = cg .SerializableDevice .from_proto (proto = dspec , gate_sets = [] )
258+ device = cg .SerializableDevice .from_proto (proto = dspec )
262259 return device
263260
264261
0 commit comments