Merkel was a physicist, so one would assume she has written at least some code.
Afaik she approximated the Schrödinger equation to compute the rate of decay of molecules with up to 6 atoms.
This [2] is the last physics paper of her (from 1990). After the wall fell, her interests changed quite a bit... Only political papers from then on.
[1] http://www.file-upload.net/download-9106454/AM-Diss.pdf.html