qiskit-community / qiskit-metal

Quantum Hardware Design. Open-source project for engineers and scientists to design superconducting quantum devices with ease.
https://qiskit-community.github.io/qiskit-metal/
Apache License 2.0
288 stars 208 forks source link

Error in 'run_epr' step in qiskit metal with ansys2023 #998

Open Shawn-Seo93 opened 1 month ago

Shawn-Seo93 commented 1 month ago

Information

What is the current behavior?

When runing tutorial code 'https://qiskit-community.github.io/qiskit-metal/tut/4-Analysis/4.02-Eigenmode-and-EPR.html', I got an error message : "com_error: (-2147352567, 'Eccezione.', (0, None, None, None, 0, -2147024382), None)"

I'm using Ansys2023, Qiskit Metal 0.1.5, python version 3.9.19

I tried the suggested solution in 'https://github.com/zlatko-minev/pyEPR/pull/142' but after I replace the previous 1579-1587 line, New error by 'if' occurs.

Steps to reproduce the problem

You can simple run one of the example at this page https://qiskit-community.github.io/qiskit-metal/tut/4-Analysis/4.02-Eigenmode-and-EPR.html# and when you arrive to the part of epr simulation you should see the error

What is the expected behavior?

In principle it should gives me the value of epr and chi matrix, instead it starts to write the values and the stop with an error

Suggested solutions

zlatko-minev commented 1 month ago

Can you post the error trace? It’s not clear what the error is On Sep 12, 2024, at 8:57 AM, Shawn-Seo93 @.***> wrote:

Information

Qiskit Metal version: 0.1.5 Python version: 3.9.19 Operating system: Window

What is the current behavior? When runing tutorial code 'https://qiskit-community.github.io/qiskit-metal/tut/4-Analysis/4.02-Eigenmode-and-EPR.html', I got an error message : "com_error: (-2147352567, 'Eccezione.', (0, None, None, None, 0, -2147024382), None)" I'm using Ansys2023, Qiskit Metal 0.1.5, python version 3.9.19 I tried the suggested solution in 'zlatko-minev/pyEPR#142' but after I replace the previous 1579-1587 line, New error by 'if' occurs. Steps to reproduce the problem You can simple run one of the example at this page https://qiskit-community.github.io/qiskit-metal/tut/4-Analysis/4.02-Eigenmode-and-EPR.html# and when you arrive to the part of epr simulation you should see the error What is the expected behavior? In principle it should gives me the value of epr and chi matrix, instead it starts to write the values and the stop with an error Suggested solutions

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Shawn-Seo93 commented 1 month ago

Sorry, I have tried many possible combination of software versions, and found it finally working! My problem was solved in the conditions below. Maybe it was caused by installation version mixing.,,

Qiskit Metal version: 0.1.5 Python version: 3.9.19 Ansys 2021R1 numpy version : 1.23.2 Operating system: Window

zlatko-minev commented 1 month ago

Great! On Sep 12, 2024, at 3:04 PM, Shawn-Seo93 @.***> wrote: Sorry, I have tried many possible combination of software versions, and found it finally working! My problem was solved in the conditions below. Maybe it was caused by installation version mixing.,, Qiskit Metal version: 0.1.5 Python version: 3.9.19 Ansys 2021R1 numpy version : 1.23.2 Operating system: Window

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>