In this section, we illustrate how an interface between ddX and an existing code can be achieved by illustrating in detail two examples: one with a QM code, namely, Psi4 , and one with a classical molecular dynamics code, namely, Tinker . The first uses the Python bindings and the second uses the native Fortran API.