Quantum integrable systems in cohomology theories I