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

Add function to rotate vibrational Hamiltonian to VSCF basis #6688

Merged
merged 43 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a44b909
Added vscf functionality
ddhawan11 Dec 9, 2024
6bbdbb7
Added reference file
ddhawan11 Dec 9, 2024
2f327fc
Added dipole
ddhawan11 Dec 9, 2024
d049e02
Resolved conflicts
ddhawan11 Dec 9, 2024
b628359
Fixed errors
ddhawan11 Dec 9, 2024
e9a7050
Updated reference files
ddhawan11 Dec 9, 2024
353b8b1
Fixed some codecov
ddhawan11 Dec 10, 2024
2c661c0
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 10, 2024
8f16c8a
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
4bd9c27
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
26cf957
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
b2fc512
Increased test coverage and addressed comments
ddhawan11 Dec 12, 2024
b975380
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 12, 2024
149eb47
Minor docstring change
ddhawan11 Dec 12, 2024
8009e7b
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
f9fa41f
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
c1d0859
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
dbf7215
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 12, 2024
11dfcf7
Added example
ddhawan11 Dec 12, 2024
aaf0703
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
426d242
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 13, 2024
d5e93df
Improved docstring
ddhawan11 Dec 13, 2024
137efb0
Improved docstring
ddhawan11 Dec 13, 2024
7ba5853
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
8376957
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
5d7a50b
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
db4998e
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
0207677
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 13, 2024
81f079e
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 13, 2024
937d39e
Updated changelog
ddhawan11 Dec 13, 2024
92a1ea0
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 14, 2024
84de7e2
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 14, 2024
99b7506
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 14, 2024
8e5a7ec
Addressed comments
ddhawan11 Dec 16, 2024
1493976
Updated reference file
ddhawan11 Dec 16, 2024
e65337a
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 16, 2024
f37c8d1
Black
ddhawan11 Dec 16, 2024
a2c3a91
Merge branch 'master' into vscf_hamiltonian
austingmhuang Dec 16, 2024
d3a7c30
Update doc/releases/changelog-dev.md
ddhawan11 Dec 17, 2024
0e29449
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 17, 2024
dcc84e8
Update pennylane/qchem/vibrational/vscf.py
ddhawan11 Dec 17, 2024
d149061
Addressed codefactor warning
ddhawan11 Dec 17, 2024
c52d7d6
Merge branch 'master' into vscf_hamiltonian
ddhawan11 Dec 17, 2024
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
Binary file modified pennylane/labs/tests/vibrational/test_ref_files/H2S.hdf5
Binary file not shown.
2 changes: 1 addition & 1 deletion pennylane/qchem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@
taper_hf,
taper_operation,
)
from .vibrational import optimize_geometry, localize_normal_modes, VibrationalPES
from .vibrational import optimize_geometry, localize_normal_modes, VibrationalPES, vscf_integrals
14 changes: 14 additions & 0 deletions pennylane/qchem/vibrational/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Copyright 2018-2024 Xanadu Quantum Technologies Inc.

# 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.
"""
This submodule provides the functionality to calculate vibrational Hamiltonians.
"""

from .localize_modes import localize_normal_modes
from .vibrational_class import VibrationalPES, optimize_geometry
from .vscf import vscf_integrals
Loading
Loading