In the Wolfram Quantum framework, a quantum state can be defined symbolically. Therefore, its transformation due to, e.g., measurement, quantum channel, unitary transformation and more can be computed symbolically, too.
First, install and load the QuantumFramework paclet: