Following on from #2932, the same test case reveals a different error due to the algorithm being written to only handle quantum dialect ops. If the user converts to the PBC dialect, the pass will fail.
@qp.qjit
@qp.transforms.ppr_to_ppm
@qp.transforms.to_ppr
@qp.qnode(qp.device("null.qubit", wires=1))
def circuit():
qp.adjoint(lambda: qp.S(0))()
return qp.probs()
catalyst.utils.exceptions.CompileError: catalyst failed with error code -6: Assertion failed: (result && "expected 'from' to be contained within the map"), function lookup, file IRMapping.h, line 74.
Following on from #2932, the same test case reveals a different error due to the algorithm being written to only handle quantum dialect ops. If the user converts to the PBC dialect, the pass will fail.