A free energy principle for generic quantum systems. (September 2022)