-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Replace circuit library pending deprecated classes #13540
Conversation
One or more of the following people are relevant to this code:
|
Pull Request Test Coverage Report for Build 12256416471Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
I think that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor suggestion, otherwise LGTM!
@@ -48,7 +48,7 @@ def setup(self, basis_gate): | |||
self.qaoa_qasm = os.path.join(qasm_dir, "qaoa_barabasi_albert_N100_3reps.qasm") | |||
self.qaoa_qc = QuantumCircuit.from_qasm_file(self.qaoa_qasm) | |||
self.qv_qc = build_qv_model_circuit(50, 50, SEED) | |||
self.circSU2 = EfficientSU2(100, reps=3, entanglement="circular") | |||
self.circSU2 = efficient_su2(100, reps=3, entanglement="circular") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will change the benchmarked behavior as the circuit now comes unwrapped, but I'd say this is fine since we've changed the workflow here. If we wanted to benchmark decomposition, we could add another test specifically for that in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this!
Summary
Replace circuit library pending deprecated classes following #13046.
Details and comments