Closed albertomercurio closed 1 year ago
Hi @albertomercurio,
Yes you can use QuantumCumulants.simplify(sz)
. I will export this function at the next release that you can use simplify(sz)
.
I'm using the stable version, but it says that QuantumCumulants.simplify
doen't exist. Is it present only in the dev release?
Sorry my mistake.
using Symbolics
and then simplify(sz)
should work.
If you do average(sz)
, it would also simplify the expression (but with expectation values in the expression).
Perfect, it works perfectly! Thanks.
Hello,
I want to find a
simplify
method for this simple test codewhich returns
(-1+σee+σee)
instead of(-1+2*σee)
. Is there a way to simplify it?