How Do Logic Gates Work Physically