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

Make Aer an optional dependency #148

Open
garrison opened this issue May 8, 2023 · 2 comments
Open

Make Aer an optional dependency #148

garrison opened this issue May 8, 2023 · 2 comments
Assignees
Labels
cutting QPD-based circuit cutting code low priority

Comments

@garrison
Copy link
Member

garrison commented May 8, 2023

Qiskit Aer is used in ckt in one place: cutqc verification. We should change Aer to be an optional dependency instead. If Aer is not installed, the simulator introduced in #145 should suffice.

Of course, running the tests or notebooks will still require that Aer is installed.

@garrison garrison self-assigned this May 8, 2023
@garrison garrison added the cutqc Related to the wire cutting code based on the CutQC paper, arXiv:2012.02333 label May 12, 2023
@garrison garrison added this to the 0.3.0 milestone May 14, 2023
@garrison garrison added low priority cutting QPD-based circuit cutting code labels May 25, 2023
@garrison garrison modified the milestones: 0.3.0, 0.4.0 Jun 1, 2023
@garrison garrison changed the title Remove dependency on Aer Make Aer an optional dependency Jun 15, 2023
@garrison garrison modified the milestones: 0.4.0, 0.5.0 Aug 31, 2023
@garrison garrison modified the milestones: 0.5.0, 0.6.0 Oct 5, 2023
@garrison
Copy link
Member Author

garrison commented Mar 6, 2024

Once cutqc is deprecated (#494), we'll be one step closer to dropping the Aer dependency. We might just want to wait until we remove cutqc to drop it.

@garrison garrison removed this from the 0.6.0 milestone Mar 6, 2024
@garrison garrison mentioned this issue Mar 29, 2024
6 tasks
@garrison
Copy link
Member Author

garrison commented Apr 2, 2024

The qiskit-ibm-runtime primitives in local mode, which we plan to use in our tutorials starting in #511, actually seem to take a different code path for simulation based on whether Aer is installed.

For this reason, we should either (i) keep Aer as a dependency, even if all explicit references to Aer in the CKT library are removed; or, (ii) perform testing both with Aer installed and with Aer absent. The first option is simpler for us, as it means we don't have to ensure compatibility with BasicProvider BasicSimulator.

@garrison garrison removed the cutqc Related to the wire cutting code based on the CutQC paper, arXiv:2012.02333 label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cutting QPD-based circuit cutting code low priority
Projects
None yet
Development

No branches or pull requests

1 participant