[2303.12298] A General Algorithm for Solving Rank-one Matrix Sensing