Skip to content

Commit

Permalink
fix test case for runtime parameter binding
Browse files Browse the repository at this point in the history
  • Loading branch information
doichanj committed Oct 6, 2023
1 parent 5f342ea commit 982d890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/terra/backends/test_runtime_parameterization.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def test_run_path_with_truncation(self, method, device):
param_map = {theta: [0.1 * i for i in range(3)]}
param_sets = [{theta: 0.1 * i} for i in range(3)]

resolved_circuits = [circuit.bind_parameters(param_set) for param_set in param_sets]
resolved_circuits = [circuit.assign_parameters(param_set) for param_set in param_sets]

result = backend.run(
circuit,
Expand Down

0 comments on commit 982d890

Please sign in to comment.