In quantum mechanics, the Schmidt decomposition of a vector $\vert \psi\rangle \in \mathbb{C}^n\otimes \mathbb{C}^m$ is
$$ \vert \psi\rangle = \sum_{i=1}^{\min\{n,m\}} \lambda_i \vert e_i\rangle \otimes \vert f_i\rangle$$
where $\{\vert e_i\rangle\}$ are an orthonormal set of vectors in $\mathbb{C}^n$, $\{\vert f_i\rangle\}$ are orthonormal in $\mathbb{C}^m$, and each $\lambda_i\geq 0$
Mercer's theorem states that for a continuous symmetric non-negative function $K:[a,b]\times [a,b]\rightarrow \mathbb{R}$, there is a sequence of functions $\{e_i\in L^2[a,b]\}_i$ and non-negative eigenvalues $\lambda_i$ such that
$$ K(s,t) = \sum_{i=1}^\infty \lambda_i e_i(s)e_i(t)$$
These look so similar, and the proofs seem to be identical if you use the right measure on $\mathbb{C}^n$. In quantum mechanics, entanglement is important and the coefficients in the Schmidt decomposition quantify it: an unentangled state has only one non-zero $\lambda_i$, and we can even define "entanglement entropy" as the entropy of $\{\lambda_i^2\}$ (which adds up to $1$ if we start with a unit vector).
Is there a similar notion of "entanglement" for continuous functions? If only one $\lambda_i$ is non-zero, it splits in a sense, but I'm wondering if this concept has a name and some applications or theory.