Skip to content

Commit

Permalink
fixed a reminiscense of the old structure in session_merging_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
positr0nium committed Jun 27, 2024
1 parent 998116c commit 04544ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/qrisp/core/session_merging_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ def merge_sessions_inner(qs_0, qs_1, merge_env_stack_=True):

qs_0.deleted_qv_list.extend(qs_1.deleted_qv_list)

if not qs_0.abstract_qs:
reorder_quantum_variables(qs_0)
reorder_quantum_variables(qs_0)


qs_0.will_be_uncomputed = bool(qs_0.will_be_uncomputed) or bool(qs_1.will_be_uncomputed)
Expand Down

0 comments on commit 04544ef

Please sign in to comment.