From 8d5bee57f4d3258fedd394225b62dedb56738e43 Mon Sep 17 00:00:00 2001 From: Pengfei Chen Date: Wed, 25 Oct 2023 12:49:45 -0700 Subject: [PATCH] update --- unitary/alpha/quantum_world.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unitary/alpha/quantum_world.py b/unitary/alpha/quantum_world.py index f72b1c6e..d1b34c70 100644 --- a/unitary/alpha/quantum_world.py +++ b/unitary/alpha/quantum_world.py @@ -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. """