Schr\"odinger operators, invertible substitutions, trace maps