Menu

#39 Finding the ground state eigenfunction

1.0
open
nobody
None
2019-10-19
2019-10-16
No

Dear Sir
I can not find the ground state eigenfunction for the code Bosehubbardstatics.py. Can you please mention how to obtain the ground state wavefunction

Related

Tickets: #39

Discussion

  • Daniel Jaschke

    Daniel Jaschke - 2019-10-16

    Hi,

    Can you specify what you expect the ground state function should look like in terms of the format? And I am not sure if you managed to run the example and have some output?

    Sincerely,

    Daniel

     
    • Sayan Lahiri

      Sayan Lahiri - 2019-10-17

      Dear Sir
      Thank you for the reply. Actually, I need to calculate the fidelity which
      is $\lim_{(t-\tilde{t})\to0}\frac{-2ln|\langle \psi(t) | \psi(\tilde{t})
      \rangle|}{(t-\tilde{t})^2}$. Please suggest me the best way to calculate
      this

      On Wed, 16 Oct 2019 at 20:47, Daniel Jaschke djaschke@users.sourceforge.net
      wrote:

      Hi,

      Can you specify what you expect the ground state function should look like
      in terms of the format? And I am not sure if you managed to run the example
      and have some output?

      Sincerely,

      Daniel

      Status: open
      Milestone: 1.0
      Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
      Last Updated: Wed Oct 16, 2019 03:07 PM UTC
      Owner: nobody

      Dear Sir
      I can not find the ground state eigenfunction for the code
      Bosehubbardstatics.py. Can you please mention how to obtain the ground
      state wavefunction


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/openmps/tickets/39/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      With Regards
      Sayan Lahiri

       

      Related

      Tickets: #39

      • Sayan Lahiri

        Sayan Lahiri - 2019-10-17

        Dear Sir
        I forgot to mention one thing that t and $\tilde{t}$ are hoppings

        On Thu, 17 Oct 2019 at 16:15, Sayan Lahiri sayan1234@users.sourceforge.net
        wrote:

        Dear Sir
        Thank you for the reply. Actually, I need to calculate the fidelity which
        is $\lim_{(t-\tilde{t})\to0}\frac{-2ln|\langle \psi(t) | \psi(\tilde{t})
        \rangle|}{(t-\tilde{t})^2}$. Please suggest me the best way to calculate
        this

        On Wed, 16 Oct 2019 at 20:47, Daniel Jaschke
        djaschke@users.sourceforge.net
        wrote:

        Hi,

        Can you specify what you expect the ground state function should look like
        in terms of the format? And I am not sure if you managed to run the example
        and have some output?

        Sincerely,
        Daniel

        Status: open
        Milestone: 1.0
        Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
        Last Updated: Wed Oct 16, 2019 03:07 PM UTC
        Owner: nobody

        Dear Sir
        I can not find the ground state eigenfunction for the code
        Bosehubbardstatics.py. Can you please mention how to obtain the ground
        state wavefunction


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/openmps/tickets/39/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        With Regards
        Sayan Lahiri


        Status: open
        Milestone: 1.0
        Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
        Last Updated: Wed Oct 16, 2019 03:17 PM UTC
        Owner: nobody

        Dear Sir
        I can not find the ground state eigenfunction for the code
        Bosehubbardstatics.py. Can you please mention how to obtain the ground
        state wavefunction


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/openmps/tickets/39/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        With Regards
        Sayan Lahiri

         

        Related

        Tickets: #39

  • Daniel Jaschke

    Daniel Jaschke - 2019-10-19

    Hi Sayan,

    I attached you a modified example of our Bose-Hubbard statics. In fact, you never need to know the wave function for the ground states, you just need the distance between the two.

    I made two changes:
    1) Add the ground state as observable written to a file.
    2) Add a overlap measure to all previously simulated ground states. (You cannot run in parallel anymore with this setup.)

    From there, you should be able to calculate your observable. For the overlap measure, I get the following matrix

    [[ 0. , 0. , 0. , 0. , 0. ],
    [ 0. , 0. , 0. , 0. , 0. ],
    [ 0.75025925, 0. , 0. , 0. , 0. ],
    [ 0.59226553, 0.82314261, 0. , 0. , 0. ],
    [ 0.48926198, 0.73258069, 0.91701332, 0. , 0. ]])

    Diagonal elements would be the distance of a ground state with itself (must be 1). The upper triangular does not contain any additional information.

    I hope that helps you to continue with your research.

    Best regards,

    Daniel

     
  • Daniel Jaschke

    Daniel Jaschke - 2019-10-19

    P.S. There was still missing the first sub-diagonal due to wrong indexing ...

    [[ 0. , 0. , 0. , 0. , 0. ],
    [ 0.92428665, 0. , 0. , 0. , 0. ],
    [ 0.75025925, 0.93620084, 0. , 0. , 0. ],
    [ 0.59226553, 0.82314261, 0.96766714, 0. , 0. ],
    [ 0.48926198, 0.73258069, 0.91701332, 0.98748269, 0. ]]

     
    • Sayan Lahiri

      Sayan Lahiri - 2019-10-25

      Thank You sir for the reply

      On Sat, 19 Oct 2019 at 17:45, Daniel Jaschke djaschke@users.sourceforge.net
      wrote:

      P.S. There was still missing the first sub-diagonal due to wrong indexing
      ...

      [[ 0. , 0. , 0. , 0. , 0. ],
      [ 0.92428665, 0. , 0. , 0. , 0. ],
      [ 0.75025925, 0.93620084, 0. , 0. , 0. ],
      [ 0.59226553, 0.82314261, 0.96766714, 0. , 0. ],
      [ 0.48926198, 0.73258069, 0.91701332, 0.98748269, 0. ]]

      Attachments:


      Status: open
      Milestone: 1.0
      Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
      Last Updated: Sat Oct 19, 2019 12:11 PM UTC
      Owner: nobody

      Dear Sir
      I can not find the ground state eigenfunction for the code
      Bosehubbardstatics.py. Can you please mention how to obtain the ground
      state wavefunction


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/openmps/tickets/39/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      With Regards
      Sayan Lahiri

       

      Related

      Tickets: #39

      • Sayan Lahiri

        Sayan Lahiri - 2019-11-02

        Dear Daniel
        I have tried the code you sent me 02_BoseHubbardStatics.py. When I am
        writing the line python 02_BoseHubbardStaticsdaniel.py --PostProcess=False
        I am getting the following error
        "
        OUTPUTS_02/Bose_Hubbard_staticst_0.00N_5.0
        5a4b813b142b50943e4894be45b86db94dc7cc77d9c8f49cab

        OUTPUTS_02/Bose_Hubbard_staticst_0.00N_5.0
        5a4b813b142b50943e4894be45b86db94dc7cc77d9c8f49cab

        OUTPUTS_02/Bose_Hubbard_staticst_0.10N_5.0
        5992bfcc2bc018a4f15809d2d9ac8156cc95d537f73004496d

        OUTPUTS_02/Bose_Hubbard_staticst_0.00N_5.0
        5a4b813b142b50943e4894be45b86db94dc7cc77d9c8f49cab

        OUTPUTS_02/Bose_Hubbard_staticst_0.10N_5.0
        5992bfcc2bc018a4f15809d2d9ac8156cc95d537f73004496d

        OUTPUTS_02/Bose_Hubbard_staticst_0.20N_5.0
        2b86ae08cd71f85c78723871568ebab25b3154f7a000051ada

        OUTPUTS_02/Bose_Hubbard_staticst_0.00N_5.0
        5a4b813b142b50943e4894be45b86db94dc7cc77d9c8f49cab

        OUTPUTS_02/Bose_Hubbard_staticst_0.10N_5.0
        5992bfcc2bc018a4f15809d2d9ac8156cc95d537f73004496d

        OUTPUTS_02/Bose_Hubbard_staticst_0.20N_5.0
        2b86ae08cd71f85c78723871568ebab25b3154f7a000051ada

        OUTPUTS_02/Bose_Hubbard_staticst_0.30N_5.0
        7d45027a050f6aea84d3cd1ef90af6bf30b89d21df8c73c5d5

        Execute_MPSMain TMP_02/Bose_Hubbard_staticst_0.00N_5.0Main.nml 0
        Execute_MPSMain TMP_02/Bose_Hubbard_staticst_0.10N_5.0Main.nml 0
        At line 14205 of file
        /home/sayan/Downloads/OpenMPS_v3.1/openmps/MPSFortLib/Mods/MPSOps.f90 (unit
        = 23, file = 'OUTPUTS_02')
        Fortran runtime error: Corrupt unformatted sequential file

        Error termination. Backtrace:

        0 0x7f2e2c21c31a

        1 0x7f2e2c21cec5

        2 0x7f2e2c21d68d

        3 0x7f2e2c3943ce

        4 0x7f2e2c394435

        5 0x7f2e2c396cec

        6 0x55fb50b5cae4

        7 0x55fb50c12814

        8 0x55fb50c29b40

        9 0x55fb50d9a1ff

        10 0x55fb50dc13d7

        11 0x55fb50dd8099

        12 0x55fb5096ba44

        13 0x7f2e2b87bb96

        14 0x55fb5096ba79

        15 0xffffffffffffffff

        Traceback (most recent call last):
        File "02_BoseHubbardStaticsdaniel.py", line 139, in <module>
        main(PostProcess=Post, ShowPlots=Plot)
        File "02_BoseHubbardStaticsdaniel.py", line 106, in main
        mps.runMPS(MainFiles, RunDir=RunDir)
        File
        "/home/sayan/.conda/envs/openmps/lib/python3.7/site-packages/MPSPyLib/tools.py",
        line 394, in runMPS
        raise MPSFortLibError(ret_val)
        MPSPyLib.tools.MPSFortLibError: MPSFortLib quit with fatal return code 2!
        "
        I am attaching the code here</module>

        On Fri, 25 Oct 2019 at 11:12, Sayan Lahiri sayan1234@users.sourceforge.net
        wrote:

        Thank You sir for the reply

        On Sat, 19 Oct 2019 at 17:45, Daniel Jaschke
        djaschke@users.sourceforge.net
        wrote:

        P.S. There was still missing the first sub-diagonal due to wrong indexing
        ...

        [[ 0. , 0. , 0. , 0. , 0. ],
        [ 0.92428665, 0. , 0. , 0. , 0. ],
        [ 0.75025925, 0.93620084, 0. , 0. , 0. ],
        [ 0.59226553, 0.82314261, 0.96766714, 0. , 0. ],
        [ 0.48926198, 0.73258069, 0.91701332, 0.98748269, 0. ]]

        Attachments:

        • 02_BoseHubbardStatics.py

        https://sourceforge.net/p/openmps/tickets/_discuss/thread/d07317f245/032a/attachment/02_BoseHubbardStatics.py
        (4.6 kB; text/x-python)


        Status: open
        Milestone: 1.0
        Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
        Last Updated: Sat Oct 19, 2019 12:11 PM UTC
        Owner: nobody

        Dear Sir
        I can not find the ground state eigenfunction for the code
        Bosehubbardstatics.py. Can you please mention how to obtain the ground
        state wavefunction


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/openmps/tickets/39/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        With Regards
        Sayan Lahiri


        Status: open
        Milestone: 1.0
        Created: Wed Oct 16, 2019 03:07 PM UTC by Sayan Lahiri
        Last Updated: Sat Oct 19, 2019 12:15 PM UTC
        Owner: nobody

        Dear Sir
        I can not find the ground state eigenfunction for the code
        Bosehubbardstatics.py. Can you please mention how to obtain the ground
        state wavefunction


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/openmps/tickets/39/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        With Regards
        Sayan Lahiri

         

        Related

        Tickets: #39


Log in to post a comment.