vayesta.core.types.wf
Submodules
vayesta.core.types.wf.ccsd
- class vayesta.core.types.wf.ccsd.RCCSD_WaveFunction(mo, t1, t2, l1=None, l2=None, projector=None)[source]
Bases:
WaveFunction
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- rotate(t, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported. Assumes rotated orbitals have same occupancy ordering as originals.
- rotate_ov(to, tv, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported.
- Parameters:
to (new occupied orbital coefficients in terms of current ones.) –
tv (new virtual orbital coefficients in terms of current ones.) –
inplace (Whether to transform in-place or return a new object.) –
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- class vayesta.core.types.wf.ccsd.UCCSD_WaveFunction(mo, t1, t2, l1=None, l2=None, projector=None)[source]
Bases:
RCCSD_WaveFunction
- property t1a
- property t1b
- property t2aa
- property t2ab
- property t2ba
- property t2bb
- property l1a
- property l1b
- property l2aa
- property l2ab
- property l2ba
- property l2bb
- rotate(t, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported. Assumes rotated orbitals have same occupancy ordering as originals.
- rotate_ov(to, tv, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported.
- Parameters:
to (new occupied orbital coefficients in terms of current ones.) –
tv (new virtual orbital coefficients in terms of current ones.) –
inplace (Whether to transform in-place or return a new object.) –
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype. Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype. Useful for communication via MPI.
- as_ccsd()
- as_unrestricted()
- copy()
- static from_pyscf(obj, **kwargs)
- make_rdm1(t_as_lambda=False, with_mf=True, ao_basis=False)
- make_rdm2(t_as_lambda=False, with_dm1=True, ao_basis=False, approx_cumulant=True)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
vayesta.core.types.wf.ccsdtq
- class vayesta.core.types.wf.ccsdtq.RCCSDTQ_WaveFunction(mo, t1, t2, t3, t4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.ccsdtq.UCCSDTQ_WaveFunction(mo, t1, t2, t3, t4)[source]
Bases:
RCCSDTQ_WaveFunction
- as_ccsd()
- as_ccsdtq()
- as_cisd(c0=1.0)
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
vayesta.core.types.wf.cisd
- class vayesta.core.types.wf.cisd.RCISD_WaveFunction(mo, c0, c1, c2, projector=None)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.cisd.UCISD_WaveFunction(mo, c0, c1, c2, projector=None)[source]
Bases:
RCISD_WaveFunction
- property c1a
- property c1b
- property c2aa
- property c2ab
- property c2ba
- property c2bb
- copy()
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
vayesta.core.types.wf.cisdtq
- class vayesta.core.types.wf.cisdtq.RCISDTQ_WaveFunction(mo, c0, c1, c2, c3, c4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.cisdtq.UCISDTQ_WaveFunction(mo, c0, c1, c2, c3, c4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
vayesta.core.types.wf.fci
- class vayesta.core.types.wf.fci.RFCI_WaveFunction(mo, ci, projector=None)[source]
Bases:
WaveFunction
- property nfci
- project(projector, inplace=False)[source]
Apply one-body projector to the FCI wavefunction using pyscf. This is assumed to indicate a one-body
- project_occ(projector, inplace=False)[source]
Apply projector onto the occupied indices of all CI coefficient tensors. Note that projector is nocc x nocc.
Action of occupied projector can be written as P^{x}_{occ} = P_{ij}^{x}
- property c0
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.fci.UFCI_WaveFunction(mo, ci, projector=None)[source]
Bases:
RFCI_WaveFunction
- project_occ(projector, inplace=False)[source]
Apply projector onto the occupied indices of all CI coefficient tensors. Note that projector is nocc x nocc.
Action of occupied projector can be written as P^{x}_{occ} = P_{ij}^{x}
- as_ccsd()
- as_ccsdtq()
- as_fci()
- as_mp2()
- as_unrestricted()
- property c0
- copy()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nfci
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- project(projector, inplace=False)
Apply one-body projector to the FCI wavefunction using pyscf. This is assumed to indicate a one-body
- restore(projector=None, inplace=False)
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.fci.UFCI_WaveFunction_w_dummy(mo, ci, dummy_orbs, projector=None)[source]
Bases:
UFCI_WaveFunction
Class to allow use of dummy orbitals to balance alpha and beta spin channels. This is done by introducing a dummy SpinOrbitals object during calculation of properties in orbital basis, then removal of dummy indices from these quantities. We currently choose to only introduce virtual orbitals.
TODO check all quantities removed are negligible.
- property ndummy
- property dummy_mo
- as_ccsd()
- as_ccsdtq()
- as_fci()
- as_mp2()
- as_unrestricted()
- property c0
- copy()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nfci
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- project(projector, inplace=False)
Apply one-body projector to the FCI wavefunction using pyscf. This is assumed to indicate a one-body
- project_occ(projector, inplace=False)
Apply projector onto the occupied indices of all CI coefficient tensors. Note that projector is nocc x nocc.
Action of occupied projector can be written as P^{x}_{occ} = P_{ij}^{x}
- restore(projector=None, inplace=False)
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
vayesta.core.types.wf.hf
- class vayesta.core.types.wf.hf.RHF_WaveFunction(mo, projector=None)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.hf.UHF_WaveFunction(mo, projector=None)[source]
Bases:
RHF_WaveFunction
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
vayesta.core.types.wf.mp2
- class vayesta.core.types.wf.mp2.RMP2_WaveFunction(mo, t2, projector=None)[source]
Bases:
WaveFunction
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.mp2.UMP2_WaveFunction(mo, t2, projector=None)[source]
Bases:
RMP2_WaveFunction
- property t2aa
- property t2ab
- property t2ba
- property t2bb
- as_restricted()
- as_unrestricted()
- copy()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- pack(dtype=<class 'float'>)
Pack into a single array of data type dtype.
Useful for communication via MPI.
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- classmethod unpack(packed)
Unpack from a single array of data type dtype.
Useful for communication via MPI.
vayesta.core.types.wf.project
Utility functions for projection of wave functions.
vayesta.core.types.wf.rdm
- class vayesta.core.types.wf.rdm.RRDM_WaveFunction(mo, dm1, dm2, projector=None)[source]
Bases:
WaveFunction
Spin-restricted dummy wavefunction type that stores the 1- and 2-RDMs. Allows interoperability with user-defined callback solvers which only return the 1- and 2-RDMs.
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.rdm.URDM_WaveFunction(mo, dm1, dm2, projector=None)[source]
Bases:
RRDM_WaveFunction
Spin-unrestricted dummy wavefunction type that stores the 1- and 2-RDMs. Allows interoperability with user-defined callback solvers which only return the 1- and 2-RDMs.
- property dm1a
- property dm1b
- property dm2aa
- property dm2ab
- property dm2ba
- property dm2bb
- as_unrestricted()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- pack(dtype=<class 'float'>)
Pack into a single array of data type dtype.
Useful for communication via MPI.
- restore()
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- classmethod unpack(packed)
Unpack from a single array of data type dtype.
Useful for communication via MPI.
vayesta.core.types.wf.t_to_c
These expressions were obtained from https://doi.org/10.1063/1.4996044 for GHF, and then spin integrated to RHF and UHF expressions.
vayesta.core.types.wf.wf
Module contents
Package for wave function objects.
TODO: spin-off projections (delegation, inheritance?)
- class vayesta.core.types.wf.WaveFunction(mo, projector=None)[source]
Bases:
object
- property norb
- property nocc
- property nvir
- property norba
- property norbb
- property nocca
- property noccb
- property nvira
- property nvirb
- property nelec
- class vayesta.core.types.wf.RHF_WaveFunction(mo, projector=None)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UHF_WaveFunction(mo, projector=None)[source]
Bases:
RHF_WaveFunction
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.RMP2_WaveFunction(mo, t2, projector=None)[source]
Bases:
WaveFunction
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UMP2_WaveFunction(mo, t2, projector=None)[source]
Bases:
RMP2_WaveFunction
- property t2aa
- property t2ab
- property t2ba
- property t2bb
- as_restricted()
- as_unrestricted()
- copy()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- pack(dtype=<class 'float'>)
Pack into a single array of data type dtype.
Useful for communication via MPI.
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- classmethod unpack(packed)
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- class vayesta.core.types.wf.RCISD_WaveFunction(mo, c0, c1, c2, projector=None)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UCISD_WaveFunction(mo, c0, c1, c2, projector=None)[source]
Bases:
RCISD_WaveFunction
- property c1a
- property c1b
- property c2aa
- property c2ab
- property c2ba
- property c2bb
- copy()
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.RCCSD_WaveFunction(mo, t1, t2, l1=None, l2=None, projector=None)[source]
Bases:
WaveFunction
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- rotate(t, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported. Assumes rotated orbitals have same occupancy ordering as originals.
- rotate_ov(to, tv, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported.
- Parameters:
to (new occupied orbital coefficients in terms of current ones.) –
tv (new virtual orbital coefficients in terms of current ones.) –
inplace (Whether to transform in-place or return a new object.) –
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- class vayesta.core.types.wf.UCCSD_WaveFunction(mo, t1, t2, l1=None, l2=None, projector=None)[source]
Bases:
RCCSD_WaveFunction
- property t1a
- property t1b
- property t2aa
- property t2ab
- property t2ba
- property t2bb
- property l1a
- property l1b
- property l2aa
- property l2ab
- property l2ba
- property l2bb
- rotate(t, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported. Assumes rotated orbitals have same occupancy ordering as originals.
- rotate_ov(to, tv, inplace=False)[source]
Rotate wavefunction representation to another basis. Only rotations which don’t mix occupied and virtual orbitals are supported.
- Parameters:
to (new occupied orbital coefficients in terms of current ones.) –
tv (new virtual orbital coefficients in terms of current ones.) –
inplace (Whether to transform in-place or return a new object.) –
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype. Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype. Useful for communication via MPI.
- as_ccsd()
- as_unrestricted()
- copy()
- static from_pyscf(obj, **kwargs)
- make_rdm1(t_as_lambda=False, with_mf=True, ao_basis=False)
- make_rdm2(t_as_lambda=False, with_dm1=True, ao_basis=False, approx_cumulant=True)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- class vayesta.core.types.wf.RFCI_WaveFunction(mo, ci, projector=None)[source]
Bases:
WaveFunction
- property nfci
- project(projector, inplace=False)[source]
Apply one-body projector to the FCI wavefunction using pyscf. This is assumed to indicate a one-body
- project_occ(projector, inplace=False)[source]
Apply projector onto the occupied indices of all CI coefficient tensors. Note that projector is nocc x nocc.
Action of occupied projector can be written as P^{x}_{occ} = P_{ij}^{x}
- property c0
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UFCI_WaveFunction(mo, ci, projector=None)[source]
Bases:
RFCI_WaveFunction
- project_occ(projector, inplace=False)[source]
Apply projector onto the occupied indices of all CI coefficient tensors. Note that projector is nocc x nocc.
Action of occupied projector can be written as P^{x}_{occ} = P_{ij}^{x}
- as_ccsd()
- as_ccsdtq()
- as_fci()
- as_mp2()
- as_unrestricted()
- property c0
- copy()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nfci
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- project(projector, inplace=False)
Apply one-body projector to the FCI wavefunction using pyscf. This is assumed to indicate a one-body
- restore(projector=None, inplace=False)
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.RCISDTQ_WaveFunction(mo, c0, c1, c2, c3, c4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UCISDTQ_WaveFunction(mo, c0, c1, c2, c3, c4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.RCCSDTQ_WaveFunction(mo, t1, t2, t3, t4)[source]
Bases:
WaveFunction
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.UCCSDTQ_WaveFunction(mo, t1, t2, t3, t4)[source]
Bases:
RCCSDTQ_WaveFunction
- as_ccsd()
- as_ccsdtq()
- as_cisd(c0=1.0)
- static from_pyscf(obj, **kwargs)
- make_rdm1(*args, **kwargs)
- make_rdm2(*args, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.RRDM_WaveFunction(mo, dm1, dm2, projector=None)[source]
Bases:
WaveFunction
Spin-restricted dummy wavefunction type that stores the 1- and 2-RDMs. Allows interoperability with user-defined callback solvers which only return the 1- and 2-RDMs.
- pack(dtype=<class 'float'>)[source]
Pack into a single array of data type dtype.
Useful for communication via MPI.
- classmethod unpack(packed)[source]
Unpack from a single array of data type dtype.
Useful for communication via MPI.
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- class vayesta.core.types.wf.URDM_WaveFunction(mo, dm1, dm2, projector=None)[source]
Bases:
RRDM_WaveFunction
Spin-unrestricted dummy wavefunction type that stores the 1- and 2-RDMs. Allows interoperability with user-defined callback solvers which only return the 1- and 2-RDMs.
- property dm1a
- property dm1b
- property dm2aa
- property dm2ab
- property dm2ba
- property dm2bb
- as_unrestricted()
- static from_pyscf(obj, **kwargs)
- property nelec
- property nocc
- property nocca
- property noccb
- property norb
- property norba
- property norbb
- property nvir
- property nvira
- property nvirb
- pack(dtype=<class 'float'>)
Pack into a single array of data type dtype.
Useful for communication via MPI.
- restore()
- rotate(*args, **kwargs)
- rotate_ov(*args, **kwargs)
- classmethod unpack(packed)
Unpack from a single array of data type dtype.
Useful for communication via MPI.