Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orthogonal transformation between commuting matrices #27

Open
blegat opened this issue Sep 25, 2023 · 4 comments
Open

Orthogonal transformation between commuting matrices #27

blegat opened this issue Sep 25, 2023 · 4 comments

Comments

@blegat
Copy link
Contributor

blegat commented Sep 25, 2023

In SumOfSquares, we have pairs of commuting matrices A, B and need to compute an orthogonal transformation X such that X * A = B * X. This is implemented in orthogonal_transformation_to. It basically calls schur(A) and schur(B) but then it's a bit subtle since the schur decomposition is not unique so we need to canonicalize in a similar way for both. It looks a bit like some of the equations of this package so I was wondering if it could fit into one of them.

@andreasvarga
Copy link
Owner

Could you provide a link to orthogonal_transformation_to? What mathematical condition guarantees the existence of an orthogonal solution?

@blegat
Copy link
Contributor Author

blegat commented Sep 27, 2023

It's there
https://github.com/jump-dev/SumOfSquares.jl/blob/6ad333b54524aa15ca47be20572bf9d82bfa56c4/src/Certificate/Symmetry/block_diag.jl#L3-L179
I'm not sure what is the condition actually. I just assume that there must exist one

@andreasvarga
Copy link
Owner

The fact that A and B are commuting (i.e., AB = BA) does guarantee the existence of an orthogonal solution? I was not able to find such a result in the literature.

@blegat
Copy link
Contributor Author

blegat commented Sep 27, 2023

Thanks for the literature search. Indeed, I don't think the commuting property is the right one. Actually there are pairs of matrices that do not commute for which I can find such orthogonal matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants