Sparse polynomial optimization with matrix constraints | Synapse