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

update constructor for ZXDiagram from QASM codes directly #59

Closed ChenZhao44 closed 4 years ago

Roger-luo commented 4 years ago

tests failing.

ChenZhao44 commented 4 years ago

test fixed @Roger-luo

Roger-luo commented 4 years ago

I'll leave some notes here, I think the constructor interface is useful, but it's very likely requires some rework in the future due to the change of QASM support on the compiler side. Currently we don't actually have the ability to fully interpret QASM to YaoIR (which it should), but I need to think about the syntax for this a bit more.