  We present a method to couple finite-volume QCD to infinite-volume QED by an
appropriate twist-averaging procedure. We demonstrate the prescription
numerically for the leading-order hadronic contribution to the anomalous
magnetic moment of the muon and the electro-magnetic pion mass splitting.
