Git Product home page Git Product logo

Comments (5)

xrq-phys avatar xrq-phys commented on June 27, 2024

I cannot ensure uncommenting lda = 2*n would make it work, but leading dimension for that matrix is indeed 2.

from mvmc.

nikita-astronaut avatar nikita-astronaut commented on June 27, 2024

Dear RuQing,

thank you very much for clarifying this. Could you please tell, what are the all changes required to be done in calculateNewPfMN_child and perhaps in M_ZSKPFA to make everything work?

Could you please share the version of the src/mVMC/locgrn.c file used in obtaining the results of https://arxiv.org/pdf/2005.14142.pdf ?

Thanks a lot!

Best wishes,
Nikita

from mvmc.

tmisawa avatar tmisawa commented on June 27, 2024

Dear Nikita,

Because I and RuXing are not authors of the arXiv paper,
we do not know the details of the codes used in the arXiv paper.
If you want to use the code, please contact the authors of the arXiv paper.

By the way, on the GreenFuncN, it is used in the power Lanczos calculations.
For example, in lslocgrn.c, we calculate the 3-body and 4-body Green functions
using GreenFuncN.
Could you refer to the usages of GreenFuncN?

Best,
Takahiro Misawa

from mvmc.

nikita-astronaut avatar nikita-astronaut commented on June 27, 2024

Dear Takahiro,

thanks a lot, this is a very good comment.

However, it is unclear to me how the function GreenFuncN can work properly in its current implementation.

As RuXing and me found out above, GreenFuncN calls calculateNewPfMN_child, where currently the parameter lda is uninitialized, and most likely during equals lda = 0 during execution (though this is not guaranteed).

Then pointer to lda is passed to M_ZSKPFA as 5th argument &lda, and I get an error from PFAPACK that 5th argument is invalid (note that LDA >= max(1, N)).

So, as I understand, in the lslocgrn.c file, where you calculate 3-body and 4-body GF, the execution of GreenFuncN never goes further line 254 (reduction stage, if some of the operators have matching indices).

I still believe that calculateNewPfMN_child in its currently commited way has an unexpected behavior.

Thanks for the advice, I will contact the authors of the very paper.

Best wishes,
Nikita

from mvmc.

nikita-astronaut avatar nikita-astronaut commented on June 27, 2024

Dear all,

I have correctly modified calculateNewPfMN_child and checked the result by explicitly looking at the Pfaffians ratios. Now I have the working 4-point function. I thank you a lot for your assistance.

Closing this.

Best,
Nikita

from mvmc.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.