From 5e8e6657bdaf7c847c46296a455819c4b564cc42 Mon Sep 17 00:00:00 2001 From: Pablo Andres-Martinez <104848389+PabloAndresCQ@users.noreply.github.com> Date: Thu, 27 Jun 2024 09:54:22 +0100 Subject: [PATCH] Apply changes to comments --- .../cutensornet/general_state/tensor_network_state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytket/extensions/cutensornet/general_state/tensor_network_state.py b/pytket/extensions/cutensornet/general_state/tensor_network_state.py index 2855d5fa..bfe3561e 100644 --- a/pytket/extensions/cutensornet/general_state/tensor_network_state.py +++ b/pytket/extensions/cutensornet/general_state/tensor_network_state.py @@ -69,7 +69,7 @@ def __init__( libhandle.print_device_properties(self._logger) # Remove end-of-circuit measurements and keep track of them separately - # It also resolves implicit sawps + # It also resolves implicit swaps self._circuit, self._measurements = _remove_meas_and_implicit_swaps(circuit) # Identify each qubit with the index of the bond that represents it in the # tensor network stored in this GeneralState. Qubits are sorted in increasing @@ -532,7 +532,7 @@ def sample( finally: ##################################################### - # Destroy the Operator and ExpectationValue objects # + # Destroy the Sampler object # ##################################################### cutn.destroy_workspace_descriptor(work_desc) # type: ignore cutn.destroy_sampler(sampler)