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

Directly use psutil to get total system memory #2002

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 20, 2023

  1. Directly use psutil to get total system memory

    Currently Aer is using Qiskit's local_hardware_info() function which to
    determine the total amount of system memory which is used to compute the
    largest statevector the system can build. However, this function wasn't
    really intended to be used outside of Qiskit and also Qiskit is looking
    to remove the memory reporting (see: Qiskit/qiskit#11254). This commit
    just pivots to using psutil directly which is what qiskit is doing
    internally.
    mtreinish committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b86734c View commit details
    Browse the repository at this point in the history