Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
obliviateandsurrender committed Oct 11, 2023
1 parent 4507dbc commit bef7757
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pennylane/transforms/qcut/cutcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bef7757

Please sign in to comment.