How To Write Ground State Configurations