|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Functions | |
| def | _default_path (numpy_module) |
| def | _try_config_api (numpy_module) |
| def | _try_new_api (numpy_module) |
| def | main () |
Utility script invoked from CMake to locate the BLAS directory used by NumPy. The script mirrors the previous inline CMake/Python logic by trying the more recent NumPy APIs first, then falling back to older mechanisms, finally defaulting to the standard ``../lib`` location inside the NumPy installation. It prints the detected directory to stdout.
|
private |
Final fallback: assume BLAS resides in ../lib next to NumPy.
Definition at line 54 of file find_numpy_blas_dir.py.

|
private |
Fallback to NumPy's configuration metadata.
Definition at line 41 of file find_numpy_blas_dir.py.
|
private |
Attempt to locate BLAS directory using newer NumPy internals.
Definition at line 18 of file find_numpy_blas_dir.py.
| def find_numpy_blas_dir.main | ( | int | ) |
1.8.13