Architecture, Algorithms, and Protocols of a Quantum Computer and Quantum Internet