Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pengfei Chen committed Dec 8, 2023
1 parent 40cb3ff commit b231ba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unitary/examples/quantum_chinese_chess/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ def effect(self, *objects) -> Iterator[cirq.Operation]:
alpha.PhasedMove()
)(source_0, target_1)

# TODO(): Do we need to zero-out, i.e. reverse those ancillas?
# Note: we do not zero-out, i.e. reverse those ancillas. But we could do this
# if we want to reuse them.

# Pass the classical properties of the source piece to the target pieces.
target_0.reset(source_0)
Expand Down

0 comments on commit b231ba7

Please sign in to comment.