Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/iii/paper-60/1/c/solution

Two finite-dimensional Hermitian matrices are related by unitary conjugation if and only if they have the same multiset of eigenvalues. Necessity follows because conjugation preserves the characteristic polynomial; sufficiency follows by mapping orthonormal eigenbases in the spectral theorem. Consequently
and no member of the first pair is equivalent to a member of the second. For an explicit example, the Hadamard gate gives and . Multiplying by a scalar phase does not change either conjugation.

New to topics? Read the docs here!