Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in importing CompositeSystem module from qiskit_metal.analyses.quantization.lom_core_analysis module #1005

Open
vegaonline opened this issue Dec 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@vegaonline
Copy link

Information

  • Qiskit Metal version:0.1.5
  • Python version: 3.12.4
  • Operating system: Ubuntu 22.04 with kernel 6.8.0-50-generic

What is the current behavior?

I was trying to run the a tutorial file "Analysis/B. Advanced - Direct use of the renderers/4.19 Analyze a transmon using ElmerFEM.ipynb".

Error: ModuleNotFoundError: No module named 'qutip.qobj' while IMPORTING from qiskit_metal.analyses.quantization.lom_core_analysis.

Steps to reproduce the problem

from qiskit_metal.analyses.quantization.lom_core_analysis import CompositeSystem generates the error everytime I use.

What is the expected behavior?

There should not be error.

Suggested solutions

I think there is some issue with pyside2 (probably but not sure).

@vegaonline vegaonline added the bug Something isn't working label Dec 27, 2024
@vegaonline
Copy link
Author

I also think that it issue with lom_core_analysis as it is giving same error while importing Cell and Subsytem also.

@zlatko-minev
Copy link
Collaborator

zlatko-minev commented Dec 28, 2024 via email

@vegaonline
Copy link
Author

Do you have Qutip and tight version installed Sent from my iPhoneOn Dec 27, 2024, at 3:39 AM, Abhijit Bhattacharyya @.> wrote: I also think that it issue with lom_core_analysis as it is giving same error while importing Cell and Subsytem also. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

Yes, I have Qutip inside metal environment.

@vegaonline
Copy link
Author

I had to re-install qiskit-metal afresh and then the issue was resolved. However, now that example runs and generates capacitance_matrix while similar code with different name generates error with 'nets'. The error says 'nets was not generatedforelmer_renderer.add_solution_setup('capacitance')andelmer_renderer.run('capacitance')`.

@vegaonline
Copy link
Author

Latest Development:
I installed qiskit_metal afresh with pyside6. Now, adding of solver as 'capacitance' was successful and renderer started solving while suddenly code stopped for segmentation fault. Bbacktrace hinted issue at ELMERFEM/fem/src/modules/StatElecSolve.F90. The ElmerSolver log file is here
elmersolver.log .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants