Consider a quantum system consisting of two subsystems, $A$ and $B$. Let $\rho$ be the density matrix of the whole system $A\cup B$. Let $|\alpha\rangle$, $\alpha = 1,2\cdots d_B$, be the states of ...
Take a qubit initialized to $|0\rangle$. Apply a Hadamard transform to it. Measure it with an apparatus along the $|0\rangle,\, |1\rangle$ basis. If zero, spare a living cat. If 1, kill the cat. ...