Dear all,

      Recently I am using ALPS simulating JCH model. To construct the basis for atom-light interaction, two types of basis are defined on each site. My question is how to set a constraint of the summation from two types of basis?

For example,
<BASIS>
  <SITEBASIS type="0" ref="M"/>
  <SITEBASIS type="1" ref="N"/>
  <CONSTRAINT quanumnumber="A+B" value="C"/>
</BASIS>

A and B are from sitebasis M and N. Does the method above work? Thanks.