Update 4qamwithkernel.py

Fixed the cfloat_new issue