Quantum Spin Chain, Large Deviation, Ruelle transfer operator