ZXCalculus.jl icon indicating copy to clipboard operation
ZXCalculus.jl copied to clipboard

Simple symbolic expression with pattern match

Open ChenZhao44 opened this issue 2 years ago • 0 comments

@adt public struct SimpleExpr
    Literal(::Number)
    Variable(::Symbol, ::Type)
    Minus(::SimpleExpr)
    Add(::Vector{SimpleExpr})
    PiImExp(::SimpleExpr)
end

ChenZhao44 avatar Aug 01 '23 14:08 ChenZhao44