<div dir="ltr">Oh, I forgot to mention that I'm using mps_optim application. How does the result of MEASURE_AVERAGE differ from MEASURE_LOCAL, if let's say I use "n" for these parameters? Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 6, 2017 at 3:08 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">Hello,<div><br></div><div>Could you please be a bit more specific about the application you are running?</div><div><br></div><div>You are right about the local measurement, but you need MEASURE_LOCAL, since you want to value at each site. Since the n_i^2 operator is not yet defined in the model library, you need to add it yourself. Basically I would do as follow:</div><div>1. Copy the file models.xml from ALPS_ROOT/lib/xml/models.xml, where ALPS_ROOT is the root location of your alps installation.</div><div><br></div><div>2. Add this definition to your local copy, it defines the n^2 operator</div><div><SITEOPERATOR name=“n_squared"<wbr> site="x"><br>  n(x)*n(x)<br></SITEOPERATOR><br><br></div><div>3. In your input parameters you have now to link to your new model file.</div><div>MODEL_LIBRARY=“path/to/models.<wbr>xml”</div><div><br></div><div>4. And add your measurement</div><div>MEASURE_LOCAL[Density^2] = “ n_squared"</div><div><br></div><div><br></div><div>Hope this helps.</div><div><br></div><div>Best,</div><div>Michele</div><div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>--</div><div>ETH Zurich</div><div><span style="text-align:-webkit-auto">Dr.</span><span style="text-align:-webkit-auto"> </span>Michele Dolfi</div><div>Institute for Theoretical Physics</div><div>HIT G 32.4</div><div>Wolfgang-Pauli-Str. 27</div><div>8093 Zurich</div><div>Switzerland</div><div><br></div><div><a href="mailto:dolfim@phys.ethz.ch" target="_blank">dolfim@phys.ethz.ch</a></div><div><a href="http://www.itp.phys.ethz.ch" target="_blank">www.itp.phys.ethz.ch</a></div><div><br></div><div><a href="tel:+41%2044%20633%2078%2056" value="+41446337856" target="_blank">+41 44 633 78 56</a> phone</div><div><a href="tel:+41%2044%20633%2011%2015" value="+41446331115" target="_blank">+41 44 633 11 15</a> fax </div></div>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On 6 Feb 2017, at 07:26, Robertson Esperanza <<a href="mailto:robbie.esperanza@gmail.com" target="_blank">robbie.esperanza@gmail.com</a>> wrote:</div><br class="m_6600635778920913090Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr"><div>Hello,<br><br>I only started studying many-body physics, so there might be gaps in my knowledge. When using the MEASURE_CORRELATION, why does the measurement goes for only site i<j, is it because there will be "blowing up"? <br><br>Alternatively, to measure for i=j, i think I could use MEASURE_AVERAGE, of let's say (n_i)^2 where n - n_up + n_down. How could I define such measurement, where you use an operator successively? Thank you for replying<br><br></div>Robertson Esperanza<br></div>
<br><br></div></div>----<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></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>