Artificial intelligent assistant

Entries of Unitarily Similary Matrics If two matrices $A$ and $B$ are unitarily equivalent ($QAQ^{*} = B$ for some unitary matrix $Q$), what can we say about the entries of $B$? Is there a concise way to express its entries in terms of the column vectors of $A$ and $Q$? It seems like some entries, especially the diagonal entries, of $B$ should have a simple formulation.

Suppose that $Q$ has columns $q_1,\dots,q_n$. We can then write the matrix product as $$ Q^*AQ = \pmatrix{q_1^*\\\q_2^* \\\ \vdots \\\ q_n^*}\ A \ \pmatrix{q_1 & q_2 & \cdots & q_n} $$ With block-matrix multiplication, we can write this product as $$ Q^*AQ = \pmatrix{q_1^*Aq_1 & \cdots & q_1^*A q_n\\\ \vdots & \ddots & \vdots\\\ q_n^*Aq_1 & \cdots & q_n^*Aq_n} $$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 3f4717d6db6758b292eaa96877e33ba7