Based on a scalable and universal quantum network, quantum central processing unit, proposed in our previous paper [Chin. Phys. Lett. 18 (2001) 166], the whole quantum network for the known quantum algorithms, including quantum Fourier transformation, Shor's algorithm and Grover's algorithm, is obtained in a unified way.