Variational quantum algorithms for trace norms and their applications
Sheng-Jie Li,Jin-Min Liang,Shu-Qian Shen,Ming Li
Figure 3. The Hadamard test for estimating $\mathrm{tr}(\rho U)$.