Unitary and orthogonal equivalence of sets of matrices

Abstract Two matrices A and B are called unitary (resp. orthogonal) equivalent if A U = V B for two unitary (resp. orthogonal) matrices U and V. Using trace identities, criteria are given for simultaneous unitary, orthogonal or complex orthogonal equivalence between two sets of matrices.