catalyst
catalyst copied to clipboard
[BUG] Passing a list of wires to `qml.Identity` causes QJIT to segmentation fault
trafficstars
The following code will produce a segmentation fault due to the use of qml.Identity([0, 1]).
dev = qml.device("lightning.qubit", wires=2)
@qjit
@qml.qnode(dev)
def circuit():
qml.Identity([0, 1])
return qml.state()
circuit()