A practical quantum Hoare logic with classical variables, I | Synapse