Variational path integral molecular dynamics and hybrid Monte Carlo algorithms | Synapse