Skip to content

Modify spin_onehalf_triangle_heisenbergJ1J2_sqrpeps.h and corresponding tests#7

Open
qianji5 wants to merge 1 commit into
QuantumLiquids:mainfrom
qianji5:dev/tri_measure
Open

Modify spin_onehalf_triangle_heisenbergJ1J2_sqrpeps.h and corresponding tests#7
qianji5 wants to merge 1 commit into
QuantumLiquids:mainfrom
qianji5:dev/tri_measure

Conversation

@qianji5
Copy link
Copy Markdown
Contributor

@qianji5 qianji5 commented May 14, 2026

I. EvaluateObservables in spin_onehalf_triangle_heisenbergJ1J2_sqrpeps.h:
1. Move the calculation of the J2 contribution on the same row window into the previous loop over col;
2. Replaced inv_psi2 with inv_psi;
3. Added the calculation of the J2 contribution (↘ with sqrt(5) separation).
II. integration_test_framework.h
1. Load TPS only on the master rank, then broadcast to other ranks in RunVMCOptimization, RunMCMeasurement, and RunZeroUpdateTest;
2. Add MPI_Barrier before loading TPS in RunMCMeasurement;
3. Only compare measurement energy and energy_ed on the master rank in RunMCMeasurement.
III. test_triangle_heisenberg.cpp and test_triangle_j1j2_heisenberg.cpp
1. Update energy_ed and replaced Dbmps_min and Dbmps_max with Dpeps and 2 * Dpeps.

…s.h:

	1. Move the calculation of the J2 contribution on the same row window into the previous loop over col;
	2. Replaced inv_psi2 with inv_psi;
	3. Added the calculation of the J2 contribution (↘ with sqrt(5) separation).
II. integration_test_framework.h
	1. Load TPS only on the master rank, then broadcast to other ranks in RunVMCOptimization, RunMCMeasurement, and RunZeroUpdateTest; 	2. Add MPI_Barrier before loading TPS in RunMCMeasurement;
	3. Only compare measurement energy and energy_ed on the master rank in RunMCMeasurement.
III. test_triangle_heisenberg.cpp and test_triangle_j1j2_heisenberg.cpp
	1. Update energy_ed and replaced Dbmps_min and Dbmps_max with Dpeps and 2 * Dpeps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant