Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@jlapeyre jlapeyre released this 01 Mar 23:56
· 28 commits to main since this release
b5702e0

What's Changed

Statements like qubit $1; are supported.

This commit also undoes the previous commit (last commit before tagging 0.3.0) that
improved the error handling for attemted declaration of hardware qubits.

API CHANGE: new variant in asg::Stmt
The variant is Stmt::DeclareHardwareQubit(DeclareHardwareQubit)

The struct DeclareHardwareQubit has method name to retrieve an instance of
asg::HardwareQubit. Note that asg::HardwareQubit is not new in this
commit.

Crates

https://crates.io/crates/oq3_semantics

Changelog

Full Changelog: 0.3.0...0.4.0