I encountered a problem. I have a eigenvector eigvsI[1]
eigvsI[1]={0.0161028 - 0.0119647 I, 0.111551 - 0.0828846 I, 0.20484 - 0.1522 I,
0.249467 - 0.185359 I, 0.28268 - 0.210037 I,
0.301895 - 0.224314 I, -0.190871 + 0.141821 I, -0.271275 +
0.201562 I, -0.244686 + 0.181807 I, -0.204743 +
0.152128 I, -0.148422 + 0.11028 I, -0.0281275 + 0.0208993 I}
and a hermite matrix hI[1]
hI[1]={{0, Sqrt[5]/2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {Sqrt[5]/2, 0, Sqrt[2],
0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, Sqrt[2], 0, 3/2, 0, 0, 0, 0, 0, 0,
0, 0}, {0, 0, 3/2, 0, Sqrt[2], 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, Sqrt[
2], 0, Sqrt[5]/2, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, Sqrt[5]/2, 0, 0,
0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, Sqrt[5]/2, 0, 0, 0, 0}, {0, 0,
0, 0, 0, 0, Sqrt[5]/2, 0, Sqrt[2], 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0,
Sqrt[2], 0, 3/2, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 3/2, 0, Sqrt[2],
0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, Sqrt[2], 0, Sqrt[5]/2}, {0, 0, 0, 0,
0, 0, 0, 0, 0, 0, Sqrt[5]/2, 0}}
theoretically
Conjugate[eigvsI[1]].hI[1].eigvsI[1]
should be Real number. But MMA gives
-0.253172 - 8.00544*10^-18 I
where does this small imaginary part come from?
On the other hand,
Conjugate[eigvsI[1]].eigvsI[1]
gives perfect zero imaginary part
0.811081 + 0. I
Chop
to remove the bear-zero parts. $\endgroup$