You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that the signature of the opaque op is not included.
The HUGR was generated by TKET2 from the following qasm file and serde_json-encoded (the same error happens with any other non-supported opaque operation).
OPENQASM 2.0;
include"qelib1.inc";
qreg q[1];
v q[0];
The example is in the branch deser-opaqueop. Just cargo run --example deser_opaque`
The text was updated successfully, but these errors were encountered:
TKET1 Json Op signatures are computed based on the operation parameters.
The resulting signature for the OpaqueOp should always be encoded in the json, so that we don't require access to the extension at decoding time.
The following test fails while computing the signature of the opaque operation.
(Called
unwrap
on aNone
at src/ops/custom.rs:87:54).Notice that the
signature
of the opaque op is not included.The HUGR was generated by TKET2 from the following qasm file and
serde_json
-encoded (the same error happens with any other non-supported opaque operation).The example is in the branch
deser-opaqueop
. Just cargo run --example deser_opaque`The text was updated successfully, but these errors were encountered: