我应该如何实现下面这个目标函数 (Moderator's summary of topic: Perspective function of log determinant in the objective function)


这是一个对数行列式的透视函数,应该是一个凹函数,但是我尝试了很久,不知道应该如何进行实现。

See the examples in Perspective of log det function, and CVX formulations of related log det problems using Quantum Relative Entropy from CVXQUAD, which make use of quantum_rel_entr, which is in CVXQUAD GitHub - hfawzi/cvxquad: Implementation in MATLAB-based CVX of various convex/concave functions of matrices (matrix geometric means, quantum relative entropy, ...) .

You don’t need to use CVXQUAD’s exponential.m replacement in order to use CVXQUAD’s quantum_rel_entr.