Definition. For a continuous, strictly monotone function $f \colon I \to J$, where $I, J \subset \mathbb R$ are intervals, we can define the $f$-mean of two numbers $p, q \in I$ as $$ M_f \colon I \to I, \qquad (p, q) \mapsto f^{-1}\left( \frac{f(p) + f(q)}{2}\right). $$ If $f$ is either (increasing and strictly concave) or (decreasing and strictly convex) on $I$, then the induced semimetric is $$ D_f \colon I \times I \to [0, \infty), \qquad (p, q) \mapsto \sqrt{p + q - 2 M_f(p, q)}. $$
Remark (Properties of $D_f$). $D_f$ is clearly symmetric. Furthermore, it is positive definite: $D_f(p, p) = \sqrt{p + p - 2 p} = 0$ and $D_f(p, q) = 0$ if and only if $f\left(\frac{p + q}{2}\right) = \frac{f(p) + f(q)}{2}$ if and only if $p = q$ by the strict concavity / convexity of $f$.
Example 1. If $I = (0, \infty)$ and $f = \ln$, then \begin{align*} M_{\ln}(p, q) & = \exp\left(\frac{1}{2} \ln(p) + \frac{1}{2} \ln(q) \right) = \exp\left(\ln(\sqrt{p}) + \ln(\sqrt{q})\right) \\ & = \exp(\ln(\sqrt{p})) \exp(\ln(\sqrt{q})) = \sqrt{p} \sqrt{q} \end{align*} and so $D_{\ln}(p, q) = | \sqrt{p} - \sqrt{q} |$, which is a metric.
How can we characterise the functions $f$ such that $D_f$ fulfills the triangle inequality?
Examples.
If $f(x) = \frac{1}{x}$ and $I = (0, \infty)$, then $M_f(p, q) = \frac{1}{\frac{\frac{1}{p} + \frac{1}{q}}{2}} = \frac{2 p q}{p + q}$ and $$D_f(p, q) = \sqrt{p + q - \frac{4 p q}{p + q}} = \frac{| p - q |}{\sqrt{p + q}}$$ might fulfill the triangle inequality.
If $f(x) = \sqrt{x}$ and $I = [0, \infty)$, then $M_f(p, q) = \frac{1}{4} (\sqrt{p} + \sqrt{q})^2$ and $D_f(p, q) = \sqrt{p + q - \frac{1}{2} (\sqrt{p} + \sqrt{q})^2} = \frac{1}{\sqrt{2}} | \sqrt{p} - \sqrt{q} |$ is a metric.
Other choices of $f$ could be $x \mapsto a^{-x}$ for $0 < a < 1$ or $x^{-p}$ for $p \ge 1$ or $x \mapsto x - e^{-x} + 1$.
Yet another perspective: since $M_f(P,P)=P$, we can write $D_f(P,Q)=\sqrt{M_f(P,P)+M_f(Q,Q)−2M_f(P,Q)}$, which is reminiscent of a metric build from a kernel function $M$.
The second part of the above definition is inspired by section 1.3 of the paper Quantum Optimal Transport for Tensor Field Processing (arXiv link, published not-open access version here) and through answers to this question I hope to make progress on this question of mine, that is, to find out whether the "quantum analog" of $D_f$ is a metric for the case for $f = \log$, that is, whether $$ D \colon \mathcal S_+^d \times \mathcal S_+^d \to [0, \infty), \qquad (P, Q) \mapsto \sqrt{\text{tr}\left(P + Q - 2 \exp\left(\frac{1}{2} \log(P) + \frac{1}{2} \log(Q)\right)\right)} $$ is a metric, where $\mathcal S_+^d$ is the cone of symmetric positive semidefinite matrices in $\mathbb{R}^{d \times d}$, see also the discussion here for the interpretation of the $M_{\ln}$ part. We at least have that $\ln$ is operator monotone and operator concave. Maybe this distance is related to the Bures-Wasserstein distance of positive definite matrices? This construction is also reminiscent of the metric $d$ in An extension of Kakutani’s theorem on infinite product measures to the tensor product of semifinite $w^*$-algebras by Donald Bures.
Some ideas to prove that $D(p, q) := \frac{| p - q |}{\sqrt{p + q}}$ fulfills the triangle inequality:
Case 1: $p > s > q$. Then $\frac{1}{\sqrt{p + s}} < \frac{1}{\sqrt{p + q}} < \frac{1}{\sqrt{s + q}}$, so \begin{align*} D(p, q) + D(q, s) & = \frac{p - q}{\sqrt{p + q}} + \frac{s - q}{\sqrt{s + q}} > \frac{p - q}{\sqrt{p + q}} + \frac{s - q}{\sqrt{p + q}} > \frac{p - q}{\sqrt{p + q}} - \frac{s - q}{\sqrt{p + q}} \\ & = \frac{p - s}{\sqrt{p + q}} > \frac{p - s}{\sqrt{p + s}} = D(p, s). \end{align*} But I haven't been able to use the same strategy for the other cases.