If and similar, then they have the same characteristic polynomial.

Note

The converse is not always true.