QuantumBFS / YaoLang.jl

YaoLang: The next DSL for Yao and quantum programs.
https://yaoquantum.org/YaoLang.jl/dev/
Apache License 2.0
31 stars 6 forks source link

allow return classical value #20

Closed Roger-luo closed 4 years ago

Roger-luo commented 4 years ago

The quantum program on device should be allowed to return classical value since the current default semantic of this DSL is modeling a host device contains the classical controller and quantum hardware. pipe operator is overloaded for convenience. This close #18