Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks for providing this method by using trace trick! But I am a bit confused how to derive the trace equality $(tr(\sigma A^r D A^{n-1-r}))$? Could you give me some hints? Thanks!