Skip to content

Commit

Permalink
Update circuit_knitting/cutting/cutting_evaluation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jim Garrison <[email protected]>
  • Loading branch information
caleb-johnson and garrison authored Aug 31, 2023
1 parent 84b6f08 commit a2ef916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuit_knitting/cutting/cutting_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _generate_cutting_experiments(
# If the input was a single quantum circuit, return the subexperiments as a list
subexperiments_out: list[QuantumCircuit] | dict[
str | int, list[QuantumCircuit]
] = subexperiments_dict
] = dict(subexperiments_dict)
assert isinstance(subexperiments_out, dict)
if isinstance(circuits, QuantumCircuit):
assert len(subexperiments_out.keys()) == 1
Expand Down

0 comments on commit a2ef916

Please sign in to comment.