Closed ChenZhao44 closed 3 years ago
The Toffoli gate will be marked as non-pure-quantum.
ex = :(function circ() @ctrl (1,2) 3 => X end) ir = YaoLang.Compiler.YaoIR(@__MODULE__, ex) ir.pure_quantum # false
should be resolved now, since we don't have pure_quantum anymore
The Toffoli gate will be marked as non-pure-quantum.