Physical realization of quantum operations