Quantum Circuit Based on Electron Spins in Semiconductor Quantum Dots