@@ -213,7 +213,9 @@ def test_run_path_with_more_params_than_expressions(self):
213
213
circuit .ry (phi , 1 )
214
214
circuit .measure_all ()
215
215
parameter_binds = [{theta : [0 , pi , 2 * pi ], phi : [0 , 1 , pi ]}]
216
- res = backend .run (circuit , shots = shots , parameter_binds = parameter_binds ).result ()
216
+ res = backend .run (
217
+ circuit , shots = shots , parameter_binds = parameter_binds , ** self .BACKEND_OPTS
218
+ ).result ()
217
219
counts = res .get_counts ()
218
220
for index , expected in enumerate (
219
221
[{"00" : shots }, {"01" : 0.25 * shots , "11" : 0.75 * shots }, {"10" : shots }]
@@ -317,7 +319,9 @@ def test_run_path_with_more_params_than_expressions_multiple_circuits(self):
317
319
circuit .ry (phi , 1 )
318
320
circuit .measure_all ()
319
321
parameter_binds = [{theta : [0 , pi , 2 * pi ], phi : [0 , 1 , pi ]}] * 3
320
- res = backend .run ([circuit ] * 3 , shots = shots , parameter_binds = parameter_binds ).result ()
322
+ res = backend .run (
323
+ [circuit ] * 3 , shots = shots , parameter_binds = parameter_binds , ** self .BACKEND_OPTS
324
+ ).result ()
321
325
counts = res .get_counts ()
322
326
for index , expected in enumerate (
323
327
[{"00" : shots }, {"01" : 0.25 * shots , "11" : 0.75 * shots }, {"10" : shots }] * 3
0 commit comments