Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
379c552
add spin restricted LNOCC
Feb 25, 2025
49a42fc
fixing style
Feb 25, 2025
554d072
Merge remote-tracking branch 'hongzhou/lnocc' into lnocc
fishjojo Feb 26, 2025
adddbba
add ulnoccsd
fishjojo Feb 28, 2025
a30f1cf
update C backend
fishjojo Feb 28, 2025
41ce90e
Merge remote-tracking branch 'upstream/master' into lnocc
fishjojo Feb 28, 2025
b70d77a
Fix ULNO for frozen orbs, rewrite test
tberkel May 6, 2025
138fab9
bug fix for outcore lno
May 8, 2025
39f507f
- rename k2sdf to _k2sdf in MODIFIED_K2SCCSD to avoid warning
yangjunjie0320 May 23, 2025
6c53521
- adds stream object inheritance to `K2SDF` and a warning for large i…
yangjunjie0320 May 23, 2025
ef9c144
- add`k2sdf` to ` _keys` in MODIFIED_K2SCCSD
yangjunjie0320 May 24, 2025
40432f2
Removed rs_density_fit in k2s_scf for broader DF compatibility
yangjunjie0320 May 24, 2025
f86190d
Add convergence check to `impurity_solve`
yangjunjie0320 May 27, 2025
5c176fb
Fix logic for iao coeff real part
yangjunjie0320 May 28, 2025
27ce793
Optimize ulno.py for memory and include multiplicative factor to alig…
afarahva Oct 1, 2025
348659c
Update ulno unit test using new dm convention
afarahva Oct 1, 2025
ea020a2
Merge pull request #2 from afarahva/lnocc
hongzhouye Oct 6, 2025
75e0ee0
Merge pull request #1 from yangjunjie0320/lnocc
hongzhouye Oct 6, 2025
d56122d
Bug Fix: Density Matrix Calculation for ulno was bugged and would cra…
afarahva Oct 22, 2025
b815a61
removed print statements
afarahva Oct 22, 2025
2ff1359
Merge pull request #3 from afarahva/lnocc
hongzhouye Oct 22, 2025
3f5c7c8
Merge branch 'master' into lnocc
tberkel Nov 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pyscf/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@ set_target_properties (clib_dsrg PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_NAME "dsrg")

# Build the LNO library
set (LNO_SOURCE_FILES "lno/ccsd_t.c")
add_library (clib_lno SHARED ${LNO_SOURCE_FILES})
target_link_libraries (clib_lno cc ao2mo cvhf np_helper ${BLAS_LIBRARIES} ${OPENMP_C_PROPERTIES})
set_target_properties (clib_lno PROPERTIES
CLEAN_DIRECT_OUTPUT 1
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_NAME "lno")

# Build the CSFstring shared library
set (CSF_SOURCE_FILES "csf/csfstring.c")
add_library (clib_csf SHARED ${CSF_SOURCE_FILES})
Expand Down
616 changes: 616 additions & 0 deletions pyscf/lib/lno/ccsd_t.c

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions pyscf/lno/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2014-2025 The PySCF Developers. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Authors: Hong-Zhou Ye
# Chenghan Li
# Xing Zhang
#

"""
Local Natural Orbital methods
"""
from .lno import LNO
from .lnoccsd import LNOCCSD, LNOCCSD_T
from .ulnoccsd import ULNOCCSD, ULNOCCSD_T
Loading
Loading