Photonics

Photonics

Topics related to Lumerical and more.

Error in running the script generate_biphoton_wavefunction.py

    • Amin Khavasi
      Subscriber

      I 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)

       

    • Guilin Sun
      Ansys Employee

      I 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/

    • Amin Khavasi
      Subscriber

      Thank you for the response. Yes, I installed the 2023 version and it worked.

    • Yang Yongxiang
      Subscriber

      I 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.

    • Guilin Sun
      Ansys Employee

      Probably you need to install the latest version, as two of us tested successfully.

Viewing 4 reply threads
  • The topic ‘Error in running the script generate_biphoton_wavefunction.py’ is closed to new replies.