Demonstration and operation of quantum harmonic oscillators in an AlGaAsâGaAs heterostructure