Implementation of the interacting quantum atom energy decomposition using the CASPT2 method.