Skip to content

Commit

Permalink
preparation of slater determinants and fermionic gaussian states
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jan 4, 2022
1 parent 7780793 commit 65ac665
Show file tree
Hide file tree
Showing 6 changed files with 484 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .pylintdict
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ cargs
cartesian
cbit
ccx
cdots
cfg
chc
chiral
Expand Down Expand Up @@ -109,6 +110,7 @@ dimensionality
discoverable
distinguishability
dll
docstring
dof
doi
dt
Expand Down Expand Up @@ -226,6 +228,7 @@ kwarg
kwargs
labelled
lda
ldots
len
leucine
levinthal
Expand All @@ -240,6 +243,7 @@ ljik
lk
logfile
lookback
lvert
lysine
macos
majorana
Expand Down Expand Up @@ -311,6 +315,7 @@ ortho
orthonormal
otimes
outpath
overline
pac
param
parameterized
Expand Down Expand Up @@ -358,6 +363,7 @@ qubit
qubits
qutrit
radians
rangle
rcccx
rccx
readme
Expand Down
6 changes: 3 additions & 3 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme

# Good variable names which should always be accepted, separated by a comma
# i,j,k = typical indices
# n,m = typical numbers
# n,m,p = typical numbers
# ex = for exceptions and errors
# v,w = typical vectors
# x,y,z = typical axes
Expand All @@ -118,7 +118,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
# pi = the PI constant
# op = operation iterator
# b = basis iterator
good-names=i,j,k,n,m,ex,v,w,x,y,z,Run,_,logger,q,c,r,qr,cr,qc,nd,pi,op,b,ar,br,a,mu,
good-names=i,j,k,n,m,p,ex,v,w,x,y,z,Run,_,logger,q,c,r,qr,cr,qc,nd,pi,op,b,ar,br,a,mu,
__unittest,iSwapGate

# Bad variable names which should always be refused, separated by a comma
Expand Down Expand Up @@ -154,7 +154,7 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$
class-name-hint=[A-Z_][a-zA-Z0-9]+$

# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
function-rgx=[a-z_][a-z0-9_]{2,50}$

# Naming hint for function names
function-name-hint=[a-z_][a-z0-9_]{2,30}$
Expand Down
6 changes: 5 additions & 1 deletion qiskit_nature/circuit/library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
:toctree: ../stubs/
:nosignatures:
FermionicGaussianState
HartreeFock
SlaterDeterminant
VSCF
Ansatzes
Expand Down Expand Up @@ -75,7 +77,7 @@

from .gates import YXMinusXYInteractionGate

from .initial_states import HartreeFock, VSCF
from .initial_states import FermionicGaussianState, HartreeFock, SlaterDeterminant, VSCF

__all__ = [
"UCC",
Expand All @@ -88,4 +90,6 @@
"UVCCSD",
"VSCF",
"YXMinusXYInteractionGate",
"FermionicGaussianState",
"SlaterDeterminant",
]
3 changes: 2 additions & 1 deletion qiskit_nature/circuit/library/initial_states/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# that they have been altered from the originals.
"""Qiskit Nature Circuit Library Initial States."""

from .fermionic_gaussian_states import FermionicGaussianState, SlaterDeterminant
from .hartree_fock import HartreeFock
from .vscf import VSCF

__all__ = ["HartreeFock", "VSCF"]
__all__ = ["FermionicGaussianState", "HartreeFock", "SlaterDeterminant", "VSCF"]
Loading

0 comments on commit 65ac665

Please sign in to comment.