Skip to content

Commit

Permalink
Remove python space function
Browse files Browse the repository at this point in the history
The path is trivial to get if you need it and we shouldn't commit to
this in the public api yet.
  • Loading branch information
mtreinish committed Feb 28, 2025
1 parent f2aa474 commit fc211a8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions qiskit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,6 @@
from .version import __version__


def get_lib() -> str:
"""Get the path to the compiled library object.
When interfacing with Qiskit's C API for a Python extension the shared library object
returned from this function must be what is linked against. This will ensure that all
objects are built using the same library file.
Returns:
The path.
"""
return _accelerate.__file__


__all__ = [
"AncillaRegister",
"ClassicalRegister",
Expand Down

0 comments on commit fc211a8

Please sign in to comment.