# Tag Info

With further understanding coming from the expanded question, I'm entirely revising my answer, but the original version is kept below in case it's useful. The point, clearly, is to show how to simulate a probabilistic classical computation. So, we will store a classical distribution by using a diagonal density matrix: $$\rho=\sum_ip_i|i\rangle\langle i|.$$...