Hi,

In the code that you sent me, there is a line when setting the parameters that says:

'entanglement_spectra'      : ','.join([str(ss) for ss in spectra_sites]),

in general, what should be a valid "value" for the 'entanglement_spectra' parameter?

I also noticed that changing the line:

    'MEASURE[Renyi2]'           : 1,

into

    'MEASURE[Entropy]'          : 1,

does not give me anything. So this only works if I measure the Renyi Entropy?


Robertson Esperanza

On Thu, Sep 29, 2016 at 2:19 PM, Robertson Esperanza <robbie.esperanza@gmail.com> wrote:
Hello,
My mistake, I saw that the python file is attached below the link you sent me. I thought that it is already in the ALPS release from the website. Thank you for your response.

Regards,
Robertson Esperanza

On Wed, Sep 28, 2016 at 4:08 PM, Michele Dolfi <dolfim@phys.ethz.ch> wrote:
On which OS do you have the problem?

Most likely you didn’t set the PATH environment variable correctly.

If you are using the Mac OS binaries, note that the Python scripts require to install also VisTrails and instead of “alpspython” you should use “vispython”.


Best,
Michele

--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland



On 19 Sep 2016, at 11:58, Robertson Esperanza <robbie.esperanza@gmail.com> wrote:

Hello,

The link you referred to me instructs that:
"To try it out somply execute:
alpspython spin_spectrum.py"
I am using ALPS 2.2b4 from http://alps.comp-phys.org/mediawiki/index.php/Download_and_install_ALPS_2, and it seems that I don't have the said python file. 

Regards,
Robertson Esperanza

On Thu, Sep 15, 2016 at 5:43 PM, Michele Dolfi <dolfim@phys.ethz.ch> wrote:
Hi,

The spectrum of the reduced density matrix has been discussed previously in the mailing list.
You find more info and some example code at:
https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/2015/002677.html


Best regards,
Michele

--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland

dolfim@phys.ethz.ch
www.itp.phys.ethz.ch

+41 44 633 78 56 phone
+41 44 633 11 15 fax

> On 15 Sep 2016, at 09:29, Robertson Esperanza <robbie.esperanza@gmail.com> wrote:
>
> Hello,
>
> Thank you for replying to my previous inquiries. For now, I'm looking at the von neumann entropy of some variation of the Hubbard Hamiltonian, and I'm using the mps_optim application. Since the von Neumann entropy can be calculated, will I be able to access the eigenvalues of the reduced density matrices? If yes, how can I do that?
>
> I would like to also do the same thing using the exact diagonalization, but there is no function, as far as I know, to calculate the non Neumann entropy. How can I access the eigenvalued of the reduced density matrices using the ALPS application for exact diagonalization?
>
> Regards,
> Robbie
>
>
> ----
> Comp-phys-alps-users Mailing List for the ALPS Project
> http://alps.comp-phys.org/
>
> List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
> Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
>
> Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.



----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.



----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.




----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.