-
-
June 9, 2023 at 2:53 pm
Amin Khavasi
SubscriberI am trying to run the SFWM example. I did all the steps but in step 5 which is the running of the python code, I am getting the following error:
ImportError: cannot import name 'mrr_biphoton_wavefunction' from 'qinterconnect.solver' (C:\Program Files\Lumerical\v222\api\python\qinterconnect\solver.cp39-win_amd64.pyd)
Â
-
June 9, 2023 at 3:28 pm
Guilin Sun
Ansys EmployeeI just tested this example and it works fine. Please make sure you have the latest version of the software and have qINTERCONNECT license.
/forum/forums/topic/how-to-use-qsolver/
-
June 12, 2023 at 1:29 pm
Amin Khavasi
SubscriberThank you for the response. Yes, I installed the 2023 version and it worked.
-
July 5, 2023 at 6:28 am
Yang Yongxiang
SubscriberI also encountered this problem:
ImportError: cannot import name 'mrr_biphoton_wavefunction' from 'qinterconnect.solver' (C:\Program Files\Lumerical\v231\api\python\qinterconnect\solver.cp39-win_amd64.pyd)
But the version I am using is 2023 R1. And the case 'Spontaneous Parametric Down Conversion (SPDC) Photon Source' can operate normally.
-
July 5, 2023 at 2:38 pm
Guilin Sun
Ansys EmployeeProbably you need to install the latest version, as two of us tested successfully.
-
- The topic ‘Error in running the script generate_biphoton_wavefunction.py’ is closed to new replies.
-
3155
-
1013
-
956
-
858
-
797
© 2025 Copyright ANSYS, Inc. All rights reserved.