Optimal compilation of parametrised quantum circuits | Synapse