10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00

Bug in get_excitation_degree_vector

This commit is contained in:
Anthony Scemama 2015-09-19 01:37:44 +02:00
parent e31f162e5b
commit 979aa6a793
2 changed files with 10 additions and 9 deletions

13
configure vendored
View File

@ -7,15 +7,16 @@ Usage: configure <config_file> (--production | --development)
Options: Options:
config_file A config file with all the information for the compilation config_file A config file with all the information for compiling.
Example config_files are given in config/ Example config_files are given in config/
--production You can only compile all the modules with this flag, --production You can only compile **all** the modules with this flag,
but the compilation will be lighting fast but it will compile lighting fast.
--development this will create a build.ninja for each directory which
contains a binary. In a second step you may compile them
individually if you like.
--development It will create a build.ninja for each directory
which contains a binary, than you can compile them
individually if you want
Examples: Examples:

View File

@ -1023,9 +1023,9 @@ subroutine get_excitation_degree_vector(key1,key2,degree,Nint,sze,idx)
do i=1,sze do i=1,sze
d = 0 d = 0
!DEC$ LOOP COUNT MIN(4) !DEC$ LOOP COUNT MIN(4)
do l=1,Nint do m=1,Nint
d = d + popcnt(xor( key1(l,1,i), key2(l,1))) & d = d + popcnt(xor( key1(m,1,i), key2(m,1))) &
+ popcnt(xor( key1(l,2,i), key2(l,2))) + popcnt(xor( key1(m,2,i), key2(m,2)))
enddo enddo
if (d > 4) then if (d > 4) then
cycle cycle