follow bug17, after hard work, it was determined that the bug was caused by missing cuda synchronization of the pyqcu interface in qcu, cudaDeviceSynchronize() is added to each ./extern/qcu/src/apply.*.cu, result is shown in ./test/test-dev39.ipynb(a copy file of ./test/test-bug17.ipynb), nice one!