A differentiable quantum phase estimation algorithm | Synapse