qojulia / QuantumCumulants.jl

Generalized mean-field equations in open quantum systems
Other
70 stars 13 forks source link

add SymbolicsUtils.expand function for QAdd #205

Closed oameye closed 2 months ago

oameye commented 4 months ago

add overload to expand as suggested in #204

david-pl commented 4 months ago

@oameye thanks for opening a PR here! One small thing though: now that I look at the code, the dispatch should actually be x::QNumber. Otherwise that will throw a MethodError and it should just work if you change the function signature.