I realized that importing numpy and/or scipy before cytnx can lead to incorrect results without any clue. This is degerous and it should not be only a warning. I strongly suggest making it an Error to forbid importing numpy/scipy before cytnx.
In the long term, ideally, this dependency should be fixed.
I attached an example code to demonstrate different behaviors with/without importing numpy.
qn_complex_contract_norm_bug.py