From bef77576d03f415229f601d49072b239b43701a3 Mon Sep 17 00:00:00 2001 From: obliviateandsurrender Date: Wed, 11 Oct 2023 13:22:46 -0400 Subject: [PATCH] remove `TODO` --- pennylane/transforms/qcut/cutcircuit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pennylane/transforms/qcut/cutcircuit.py b/pennylane/transforms/qcut/cutcircuit.py index 71410bcfccc..288eab7612a 100644 --- a/pennylane/transforms/qcut/cutcircuit.py +++ b/pennylane/transforms/qcut/cutcircuit.py @@ -56,7 +56,6 @@ def processing_fn(res): "Hamiltonian expansion is supported only with a single Hamiltonian" ) - # TODO: fix the issue with grouping_indices w/o this in-place manipulation new_meas_op = type(tape_meas_ops[0])(obs=qml.Hamiltonian(*tape_meas_ops[0].obs.terms())) new_tape = qml.tape.QuantumScript(tape.operations, [new_meas_op], shots=tape.shots) new_tape.trainable_params = tape.trainable_params