where x t is a microstate at switching step t and u t is the reduced potential energy. The first term in the above equation is the "protocol work" w protocol and the second term is the "shadow work" which accounts for the errors introduced by the use of finite-time-step Langevin integrators. The acceptance probability A[X] is determined using a modified Metropolis-Hastings criterion to maintain detailed balance,