Quantum dynamics for energetic advantage in a charge-based classical full-adder