<div dir="ltr"><div><div><div><div>Hello again.<br><br></div>I tried using an inhomogenous periodic 1D chain lattice defined as <br><br><LATTICEGRAPH name = "inhomogeneous periodic chain lattice" vt_skip="true"><br>  <FINITELATTICE><br>    <LATTICE ref="chain lattice"/><br>    <EXTENT dimension="1" size="L"/><br>    <BOUNDARY type="periodic"/><br>  </FINITELATTICE><br>  <UNITCELL ref="simple1d"/><br>  <INHOMOGENEOUS><VERTEX/></INHOMOGENEOUS><br></LATTICEGRAPH><br><br></div>and it still didn't work. <br><br>For the second solution, how do you assign coefficients for every source and target? I need to find the difference for varying (long) ranges.<br><br></div>Thanks.<br></div>Ian Felismino<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 28, 2017 at 12:53 PM, Michele Dolfi <span dir="ltr"><<a href="mailto:dolfim@phys.ethz.ch" target="_blank">dolfim@phys.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Actually both the “abs” and “^” operators seem to be allowed, but the problem might come from the (i-j) term.</div><div>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><br></div><div>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" target="_blank">https://alps.comp-phys.<wbr>org/mediawiki/index.php/<wbr>Tutorials:LatticeHOWTO:<wbr>SimpleGraphs</a></div><div><br></div><div><br></div><div>Best,</div><div>Michele</div><div><br></div><br><div><blockquote type="cite"><div><div class="h5"><div>On 27 Jun 2017, at 08:14, John Ian Kenneth E. Felismino <<a href="mailto:jfelismino@nip.upd.edu.ph" target="_blank">jfelismino@nip.upd.edu.ph</a>> wrote:</div><br class="m_2102447438404677127Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr"><div><div>Hi!<br><br></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><br></div>Thanks.<br><div>Ian Felismino<br></div></div>
</div></div><span id="m_2102447438404677127cid:06731CA0-E42E-4245-A4E7-10C16FA2926D@v.cablecom.net"><Kitaev Hamiltonian.png></span><br><br>----<br>Comp-phys-alps-users Mailing List for the ALPS Project<br><a href="http://alps.comp-phys.org/" target="_blank">http://alps.comp-phys.org/</a><br><br>List info: <a href="https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users" target="_blank">https://lists.phys.ethz.ch//<wbr>listinfo/comp-phys-alps-users</a><br>Archive: <a href="https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users" target="_blank">https://lists.phys.ethz.ch//<wbr>pipermail/comp-phys-alps-users</a><br><br>Unsubscribe by writing a mail to <a href="mailto:comp-phys-alps-users-leave@lists.phys.ethz.ch" target="_blank">comp-phys-alps-users-leave@<wbr>lists.phys.ethz.ch</a>.</div></blockquote></div><br></div><br><br>
<br>
----<br>
Comp-phys-alps-users Mailing List for the ALPS Project<br>
<a href="http://alps.comp-phys.org/" rel="noreferrer" target="_blank">http://alps.comp-phys.org/</a><br>
<br>
List info: <a href="https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users" rel="noreferrer" target="_blank">https://lists.phys.ethz.ch//<wbr>listinfo/comp-phys-alps-users</a><br>
Archive: <a href="https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users" rel="noreferrer" target="_blank">https://lists.phys.ethz.ch//<wbr>pipermail/comp-phys-alps-users</a><br>
<br>
Unsubscribe by writing a mail to <a href="mailto:comp-phys-alps-users-leave@lists.phys.ethz.ch">comp-phys-alps-users-leave@<wbr>lists.phys.ethz.ch</a>.<br></blockquote></div><br></div>