  Experimental imperfections induce phase and population errors in quantum
systems. We present a method to compensate unitary phase errors affecting also
the population of the qubit states. This is achieved through the interaction of
the target qubit with an additional control qubit. We show that our approach
can be applied to two and three-level qubit implementations with comparable
compensation efficiency.
