CQCL / tket-json-rs

Rust data structure for serialising/deserialising TKET Circuit JSON v1
http://crates.io/crates/tket-json-rs
Apache License 2.0
2 stars 1 forks source link

feat: `map_params` helpers on the parametric structs #65

Closed aborgna-q closed 2 months ago

aborgna-q commented 2 months ago

Some helpers to convert between parameter types without too much boilerplate.

I wanted to add ToOwned instances or something similar, but most trait implementations clash with blanket impls, so these are just struct methods.