Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pengfei Chen committed Oct 25, 2023
1 parent e3a7fbc commit 8d5bee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unitary/alpha/quantum_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ def _interpret_result(self, result: Union[int, Iterable[int]]) -> int:
def unhook(self, object: QuantumObject) -> None:
"""Replace all usages of the given `object` in the circuit with a new ancilla,
so that
- all former operations on `object` will be applied on the new ancilla;
- all former operations on `object` will be applied on the new ancilla;
- future operations on `object` start with its new reset value.
Note that we don't do force measurement on it, since we don't care about its
current value but just want to reset it.
"""
Expand Down

0 comments on commit 8d5bee5

Please sign in to comment.