[en] A controlled full addition or subtraction can be realized by a unitary transformation on a register of four qubits. The fourth qubit is then used as a control qubit to enforce the addition or the subtraction of two binary digits and a carry or a borrow. The transformation can be decomposed into six elementary gates. The network differs from the adder network of four elementary gates by including two new controlled-NOT gates. The scheme is general and its implementation using vibrational computing has the advantage that the single global transformation that connects the inputs to the outputs can be driven in one step by a single laser shot. This decreases the time of operation and allows for a better use of the optical resources and for an improvement of the fidelity. The laser pulses are optimized by optimal control theory.