Reference Frames and Algorithms for Quantum Information Processing