Definition (conditional independence, partial correlation)
Given random vectors $X, Y, Z$, we say that $X$ and $Y$ are conditionally independent given $Z$ (or $X \perp\!\!\!\perp Y \mid Z$) if $$ \begin{align*} f_{XY\mid Z}(x,y\mid z) = f_{X\mid Z}(x \mid z) f_{Y\mid Z}(y\mid z). \end{align*} $$ Equivalently, $$ \begin{align*} X \perp\!\!\!\perp Y \mid Z \iff f_{X\mid Y, Z}(x\mid y,z) = m(x,z) \end{align*} $$ for some function $m$, whenever $f_{Y,Z}(y,z) > 0$.
The partial correlation of $X$ and $Y$ given $Z$ is the correlation of $X$ and $Y$ in the conditional density $f_{X,Y\mid Z}(\cdot ,\cdot \mid z)$: $$ \begin{align*} ρ_{X,Y\mid Z}(z) = \frac{\cov(X,Y\mid Z = z)}{\sqrt{\var(X\mid Z=z) \var(Y\mid Z = z)}}. \end{align*} $$
If $X,Y$ are conditionally independent given $Z$, then $ρ_{X,Y\mid Z} \equiv 0$.