Hi
   But I get the error message " Cannot evaluate I"  using Sy=1/2/I*(Splus-Sminus)  in models.xml and stop finally. What's the matter?'  Do I need to edit/modify other items in models.xml or the running python or parameter file ?
 
------------------
***********************************
湘潭大学材料与光电物理学院
             孟利军
           Lijun Meng  
邮 箱:mljphy@qq.com
电 话:0731-58298612
地  址:中国、湖南省、湘潭市、湘潭大学
邮  编:411105
***********************************
 


------------------ Original ------------------
From:  "comp-phys-alps-users-request"<comp-phys-alps-users-request@lists.phys.ethz.ch>;
Date:  Mon, Oct 29, 2012 07:00 PM
To:  "comp-phys-alps-users"<comp-phys-alps-users@lists.phys.ethz.ch>;
Subject:  Comp-phys-alps-users Digest, Vol 79, Issue 6

Send Comp-phys-alps-users mailing list submissions to
comp-phys-alps-users@lists.phys.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
comp-phys-alps-users-request@lists.phys.ethz.ch

You can reach the person managing the list at
comp-phys-alps-users-owner@lists.phys.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."


Today's Topics:

   1. Edit Complex number (=?gb18030?B?Rm9yd29yZG9t?=)
   2. Re: Edit Complex number (Matthias Troyer)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Oct 2012 21:16:00 +0800
From: "=?gb18030?B?Rm9yd29yZG9t?=" <mljphy@qq.com>
To: "=?gb18030?B?Y29tcC1waHlzLWFscHMtdXNlcnM=?="
<comp-phys-alps-users@lists.phys.ethz.ch>
Subject: [ALPS-users] Edit Complex number
Message-ID: <tencent_07D14DF17BBD218328D27AF4@qq.com>
Content-Type: text/plain; charset="gb18030"

Hi alps users and developers
     I want to simulate a lattice phase transition in external magnetic along x,y,z direction by using dmrg.I have to couple site operator with external magnetic field. But how to edit a complex number in the ALPS models.xml to get site operator Sy=1/2i(Splus-Sminus).
    Thanks in advance for your reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20121028/4bdaa300/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 28 Oct 2012 14:28:08 +0100
From: Matthias Troyer <troyer@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] Edit Complex number
Message-ID: <11BEC459-B5EB-4BE5-8FDF-87C0ACEE2FC8@phys.ethz.ch>
Content-Type: text/plain; charset="us-ascii"

Just use I for i

On Oct 28, 2012, at 2:16 PM, "Forwordom" <mljphy@qq.com> wrote:

>  Hi alps users and developers
>     I want to simulate a lattice phase transition in external magnetic along x,y,z direction by using dmrg.I have to couple site operator with external magnetic field. But how to edit a complex number in the ALPS models.xml to get site operator Sy=1/2i(Splus-Sminus).
>    Thanks in advance for your reply.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20121028/8aaeea5c/attachment-0001.html>

End of Comp-phys-alps-users Digest, Vol 79, Issue 6
***************************************************