-
Notifications
You must be signed in to change notification settings - Fork 366
/
__init__.py
61 lines (50 loc) · 2.61 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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.
from ._chemical_series import (make_atomic_ring,
make_atomic_lattice,
make_atom)
from ._grid import Grid
from ._hubbard import fermi_hubbard
from ._jellium import (dual_basis_kinetic,
dual_basis_potential,
dual_basis_jellium_model,
jellium_model,
jordan_wigner_dual_basis_jellium,
plane_wave_kinetic,
plane_wave_potential)
from ._dual_basis_trotter_error import (dual_basis_error_bound,
dual_basis_error_operator)
from ._molecular_data import MolecularData, periodic_table
from ._operator_utils import (commutator, count_qubits,
eigenspectrum, get_file_path, is_identity,
load_operator, save_operator)
from ._plane_wave_hamiltonian import (dual_basis_external_potential,
fourier_transform,
inverse_fourier_transform,
plane_wave_external_potential,
plane_wave_hamiltonian,
jordan_wigner_dual_basis_hamiltonian,
wigner_seitz_length_scale)
from ._rdm_equality_constraints import (one_body_fermion_constraints,
two_body_fermion_constraints)
from ._sparse_tools import (expectation,
expectation_computational_basis_state,
get_density_matrix,
get_gap,
get_ground_state,
is_hermitian,
jordan_wigner_sparse,
jw_hartree_fock_state,
jw_number_restrict_operator,
qubit_operator_sparse,
sparse_eigenspectrum)
from ._trotter_error import error_bound, error_operator