I am new to CVXPY
due to my recent project. I need to use maximum likelihood method in python
. The matrix I want to tune is both hermitian and semidefinite (a density matrix in physics language). But I find that these two constrains cannot appear at the same time in CVXPY
.
I know there is a function
hermitian_semidefinite
inCVX
package ofmatlab
, but I did not find inpython
.I know there exist keyword
hermitian
andSPD
when I initial a variable inCVXPY
, but I can only set one keyword.
Please help me, I will appreciate any effort you offer, thanks very much.