Fix a sign error in the definition of A and B in kondo_preprocess

The operators A and B introduced by kondo_preprocess had the wrong sign.
This bug does not affect the beta function for the hierarchical Kondo model.
This commit is contained in:
Ian Jauslin 2015-07-14 13:37:40 +00:00
parent aa0f3ae298
commit 3b591888b5
9 changed files with 12 additions and 8 deletions

View File

@ -18,7 +18,7 @@
# if static=1 then link libkondo statically but other libraries dynamically # if static=1 then link libkondo statically but other libraries dynamically
STATIC=1 STATIC=1
VERSION=1.2 VERSION=1.2.1
# products of the compilation # products of the compilation
PROJECT_BINS= meankondo numkondo meantools kondo_preprocess meantools-convert PROJECT_BINS= meankondo numkondo meantools kondo_preprocess meantools-convert

View File

@ -72,7 +72,7 @@
<h1 style="margin-bottom:50pt;">meankondo <span style="margin-left:10pt;font-size:18pt">v1.2</span></h1> <h1 style="margin-bottom:50pt;">meankondo <span style="margin-left:10pt;font-size:18pt">v1.2</span></h1>
<p> <p>
This is the official documentation for <b>meankondo</b>, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with <b>meankondo</b>, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how <b>meankondo</b> approaches the computation of flow equations, and how its programs can be made to interact with one another to compute various quantities. For a more technical description, see the man pages included with the <b>meankondo</b> source code. For a more theoretical discussion of Fermionic hierarchical models, see [G.Benfatto, G.Gallavotti, I.Jauslin, 2015]. This is the official documentation for <b>meankondo</b>, version 1.2. The aim of this document is not to give a technical description of how to use the various programs bundled with <b>meankondo</b>, nor is it to explain where hierarchical models come from and what their meaning is, but rather a conceptual overview of how <b>meankondo</b> approaches the computation of flow equations, and how its programs can be made to interact with one another to compute various quantities. For a more technical description, see the man pages included with the <b>meankondo</b> source code. For a more theoretical discussion of Fermionic hierarchical models, see <a href="http://ian.jauslin.org/publications/15bgj">[G.Benfatto, G.Gallavotti, I.Jauslin, 2015]</a>.
</p> </p>
<h2 style="margin-top:50pt;">Table of contents</h2> <h2 style="margin-top:50pt;">Table of contents</h2>

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $ .Dd $Mdocdate: April 14 2015 $
.Dt kondo_preprocess 1.2 .Dt kondo_preprocess 1.2.1
.Os .Os
.Sh NAME .Sh NAME
.Nm kondo_preprocess .Nm kondo_preprocess

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: April 13 2015 $ .Dd $Mdocdate: April 13 2015 $
.Dt meankondo 1.2 .Dt meankondo 1.2.1
.Os .Os
.Sh NAME .Sh NAME
.Nm meankondo .Nm meankondo

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: June 12 2015 $ .Dd $Mdocdate: June 12 2015 $
.Dt meantools-convert 1.2 .Dt meantools-convert 1.2.1
.Os .Os
.Sh NAME .Sh NAME
.Nm meantools-convert .Nm meantools-convert

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $ .Dd $Mdocdate: April 14 2015 $
.Dt meantools 1.2 .Dt meantools 1.2.1
.Os .Os
.Sh NAME .Sh NAME
.Nm meantools .Nm meantools

View File

@ -1,5 +1,5 @@
.Dd $Mdocdate: April 14 2015 $ .Dd $Mdocdate: April 14 2015 $
.Dt numkondo 1.2 .Dt numkondo 1.2.1
.Os .Os
.Sh NAME .Sh NAME
.Nm numkondo .Nm numkondo

View File

@ -17,7 +17,7 @@ limitations under the License.
#ifndef DEFINITIONS_GCC #ifndef DEFINITIONS_GCC
#define DEFINITIONS_GCC #define DEFINITIONS_GCC
#define VERSION "1.2" #define VERSION "1.2.1"
// number of entries in a configuration file // number of entries in a configuration file
#define ARG_COUNT 10 #define ARG_COUNT 10

View File

@ -1039,6 +1039,8 @@ int kondo_resolve_ABh(char* str, Polynomial* output, Fields_Table fields){
polynomial_conjugate(poly_conjugate); polynomial_conjugate(poly_conjugate);
polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]); polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]);
polynomial_prod_chain(psi[a],&poly_conjugate,fields); polynomial_prod_chain(psi[a],&poly_conjugate,fields);
// correct sign: psi[a]^+ should be on the left of psi[b]^-
polynomial_multiply_Qscalar(poly_conjugate,quot(-1,1));
// add to poly // add to poly
polynomial_concat_noinit(poly_conjugate, output); polynomial_concat_noinit(poly_conjugate, output);
} }
@ -1235,6 +1237,8 @@ int kondo_polynomial_vector(int offset, int index, Polynomial (*polys)[3], Field
polynomial_conjugate(poly_conjugate); polynomial_conjugate(poly_conjugate);
polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]); polynomial_multiply_scalar(poly_conjugate, pauli_mat.matrix[a][b]);
polynomial_prod_chain(psi[a],&poly_conjugate,fields); polynomial_prod_chain(psi[a],&poly_conjugate,fields);
// correct sign: psi[a]^+ should be on the left of psi[b]^-
polynomial_multiply_Qscalar(poly_conjugate,quot(-1,1));
// add to polys[j] // add to polys[j]
polynomial_concat_noinit(poly_conjugate, (*polys)+i); polynomial_concat_noinit(poly_conjugate, (*polys)+i);
} }