geometry=h2o.xyz basis=vdz hf {multi; wf,spin=0,sym=1; state,5; wf,spin=2,sym=1; state,5; dynw,1,states=[[sym=1,ms2=0,state=3-5],[sym=1,ms2=2,state=5]]; ! only state 3.1, 4.1, 5.1, and 5.2 are included in the dynamically weighting }