Quantum Spectrum in Algebraic Geometry