You are working on the PennyLaneAI/pennylane repository. The source code is checked out at /testbed at…
You are working on the PennyLaneAI/pennylane repository. The source code is checked out at /testbed at…: a task in SWE-Lego-RL-2699 (Harbor dataset). When an op with abstract wires is present in the circuit, I expect the ops before and after that op to not be optimized (cancelled or merged), as it…
The task
When an op with abstract wires is present in the circuit, I expect the ops before and after that op to not be optimized (cancelled or merged), as it can lead to incorrect results.
Part of Lego-X/Lego-RL-2699.