Quantum transistor with seven atoms