<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Actually both the “abs” and “^” operators seem to be allowed, but the problem might come from the (i-j) term.</div><div class="">Using the coordinates in the coefficients is instead a non-trivial feature. It only works if you define the lattice as inhomogeneous. You should see some examples non the lattices.xml file.</div><div class=""><br class=""></div><div class="">As an alternative solution, you could define the lattice as a graph and set independent coefficients on the bonds and edges. You should find other examples in the mailing list, or on this page <a href="https://alps.comp-phys.org/mediawiki/index.php/Tutorials:LatticeHOWTO:SimpleGraphs" class="">https://alps.comp-phys.org/mediawiki/index.php/Tutorials:LatticeHOWTO:SimpleGraphs</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Michele</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Jun 2017, at 08:14, John Ian Kenneth E. Felismino <<a href="mailto:jfelismino@nip.upd.edu.ph" class="">jfelismino@nip.upd.edu.ph</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi!<br class=""><br class=""></div>The hamiltonian I'm using is attached as a picture file. As you can see, the bond terms are proportional to abs(i - j)^\alpha. i was wondering if this is possible in Alps because I have tried doing it (crudely) with DMRG and found that it did not produce an output xml. I had simply added the term "/abs(i-j)^alpha#" in my hamiltonian.  When I remove this term, the Hamiltonian works, so clearly the problem is with this proportionality term.<br class=""><br class=""></div>Thanks.<br class=""><div class="">Ian Felismino<br class=""></div></div>
<span id="cid:06731CA0-E42E-4245-A4E7-10C16FA2926D@v.cablecom.net"><Kitaev Hamiltonian.png></span><br class=""><br class="">----<br class="">Comp-phys-alps-users Mailing List for the ALPS Project<br class=""><a href="http://alps.comp-phys.org/" class="">http://alps.comp-phys.org/</a><br class=""><br class="">List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users<br class="">Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users<br class=""><br class="">Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.</div></blockquote></div><br class=""></body></html>