def METHOD_NAME(self):
    """test transpose"""
    ham = HamiltonianGate([[15, 1j], [-1j, -2]], np.pi / 7)
    np.testing.assert_array_almost_equal(
        ham.transpose().to_matrix(), np.transpose(ham.to_matrix())
    )