Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Begin work on new OpenQASM 3 importer * Tidy up public interface construction * Add load-from-file entry point * Create public experimental interface * Credit John While I've been the author of the Qiskit side of this, John wrote the separate Rust crates that this depends on, so in principle this contribution to Qiskit is from both of us. Co-authored-by: John Lapeyre <[email protected]> * Fix lint * Bump version (git hash) of dependency on openqasm3_parser The qasm3 crate fails to build on Windows. This commit should fix this. * Add support for barrier * Handle measurement with new parser version Measures, including broadcasted measures, are now supported following increased support on the parser side. The updated version also includes changes to a few APIs, and the include-path settings are now configurable at the entry point, so we switch to those. * Fix Rust 1.75 code * Depend on released version of oq3_seamntics Change crates/qasm3/Cargo.toml to depend on a released version of the parser. that is the crate oq3_semantics, rather than a commit of the github repo. All of the commits added since the commit previously specified in the dependency are either updating the README or tweaking the github actions. * Add tests of interface successes * Add dummy library to manifest * Depend on lastest version, 0.0.7, of openqasm3_parser crates This commit does two things * Change the dependency on oq3_semantcis from 0.0.5 to 0.0.7 * Change in build.rs to reflect chang in API for gate modifiers from `gatecall.modifier()` returning `Option<GateModifier>` to `gatecall.modifiers()` returning `&[GateModifier]` * Expand on readme * Centralise dependencies * Fix typing and error typing * Credit Matt Co-authored-by: Matthew Treinish <[email protected]> * Fix clippy * Clone using GIL * Format * Improve error for unexpected angle * Add test of gate broadcasting * Add additional warnings about experimental interface * Add release note * Add comment about diagnostics in docs * Correct release series comment --------- Co-authored-by: John Lapeyre <[email protected]> Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information