In the article published on Quantum state-dependent running costs are taken into account. How can this be done using this (collection of) package?