I'm trying to solve the following question:
"Prove that one way to compute $\mathrm Tr_B$ is to assume that someone has measured system $B$ in any orthonormal basis but does not tell you the measurement outcome." - "An Introduction to Quantum Computing" by Phillip Kaye.
Where $\mathrm{Tr}_B$, represents the partial trace with respect to some subsystem in say a bipartite system $H_A \otimes H_B$.
I have some reasoning behind it, but I don't see this as a proof. For example if we have say if we have $|\phi_1\rangle, |\phi_2\rangle \in H_A \otimes H_B$, $|\phi_1\rangle = |a_1\rangle \otimes |b_1\rangle$, $|\phi_2\rangle = |a_2\rangle \otimes |b_2\rangle$
So $|\phi_1\rangle\langle\phi_2| = |a_1\rangle\langle a_2| \otimes |b_1\rangle\langle b_2|$, and if someone were to measure the system $H_B$, then $|\phi_1\rangle\langle\phi_2|$ becomes the zero operator if $ |b_1\rangle \neq |b_2\rangle$. Since the $H_B$ component of the $|\phi_i\rangle$ has already collapsed only the operators on $H_B$ that don't change the state, i.e. where $|b_1\rangle = |b_2\rangle$ make sense. But since the info from $H_B$ was discarded we haven't learned anything about $H_A$, so the result is just $(\langle b_1 ||b_2\rangle)(|a_1\rangle\langle a_2|)$.
I kind of see how this becomes the partial trace, since $\mathrm{Tr}_B(|b_1\rangle \langle b_2|) = \langle b_1 ||b_2\rangle $.
I am looking for hints about how to extend this to a proof, or to fill in any gaps in my understanding.