Quantum spectral curve as a tool for a perturbative quantum field theory