-
Notifications
You must be signed in to change notification settings - Fork 33
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
evaluate_subcircuits issue after the 1st march 2024 update #501
Comments
Thank you for the report. I do think this is worth fixing even though cutqc is the legacy interface (#494). |
Fixes #501. I've also replaced `service_args`, which appears nowhere else in the repository, with `service`.
I opened #504 but am currently unsure how to fix the |
Along with the above errror, Even I was facing value error issue for large circuits as numpy array's dimension is exceeding while calculating probability. |
Fixes #501. I've also replaced `service_args`, which appears nowhere else in the repository, with `service`.
I am still facing with the same issue even after the update:- It gives the following error :- line 92, in validate_isa_circuits |
Could you provide a full code snippet, with any explicit circuit that triggers that error? Are you using the |
Thankyou for the clarification , I believed that release has been made but I will definitely wait for the release too,
Can you please confirm if this issue will be solved after the release of circuit knitting toolbox or update will be expected in validate_isa_circuits function present in another file/library (as per the above error). |
I don't think I have access to the qasm file that would allow me to test this code, but if you want to install the current development version of CKT and test for yourself, you can run |
Thanks I will try updating the library. |
Issue/Error:-
Sample code snippet:-
--------------error is raised in below line------------------------
(backend used is any real ibm hardware , and rest parameters are passed from the code)
After Cutting the circuit when we pass the subcircuits and its complete path map generated i.e(cuts) by cut_circuit_wires function ,
evaluate_subcircuits is throwing an error shown below
Reason for the Error:-
Update to Qiskit Runtime Primitives | IBM Quantum Platform
As of 1 March 2024, circuits and observables need to be transformed to only use instructions supported by the system (referred to as instruction set architecture (ISA) circuits and observables) before being submitted to the Qiskit Runtime primitives.
Update Requested:-
Hence in evaluate_subcircuts function provided by cutting knitting toolbox , updates need to be done so that while running the circuits inside that function it won't throw the above error.
The text was updated successfully, but these errors were encountered: