esipy.mci¶
Module Contents¶
Functions¶
|
Standard BFS to find the shortest path between nodes. |
|
DFS worker for exact MCI. |
|
Normalize input into list of matrices, handling NO tuples. |
|
Computes Exact MCI using DFS. |
|
|
|
Attributes¶
- esipy.mci.find_node_distances(connec)[source]¶
Standard BFS to find the shortest path between nodes.
- esipy.mci._prep_matrices(arr, aom)[source]¶
Normalize input into list of matrices, handling NO tuples.
- esipy.mci.compute_mci(arr, aom, partition='mulliken', n_cores=None)[source]¶
Computes Exact MCI using DFS.
- Parameters
arr (list) – Atom indices involved in the ring.
aom (np.ndarray or tuple) – Atomic Overlap Matrices. If tuple (AOMs, Occ), assumes Natural Orbitals.
partition (str) – ‘mulliken’, ‘symmetric’, etc. Controls path pruning.
n_cores (int, optional) – Number of processes. Defaults to cpu_count.
