Is there any symbolic package (in Python or Julia, for example) that can represent qubit state coefficients symbolically?

For example, let's assume we have an initial two-qubit state:

$$ | \psi \rangle = c_1 |01\rangle + c_2 |11\rangle + c_3 |00\rangle. $$

Maybe I want to act with $R_Y (\theta)$ on the first qubit and then act with a Hadamard on the second qubit and so on.

Can I still get the final state in terms of symbols $c_1, c_2, c_3, \theta$, etc?

Thanks in advance!


1 Answer 1


use Wolfram quantum framework, that is the only framework supporting symbolic quantum computations, as far as I know enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.