Principles of Quantum Computation and Information:Volume II: Basic Tools and Special Topics