qiskit.chemistry.results.ElectronicStructureResult¶
-
class
ElectronicStructureResult
(a_dict=None)[código fonte]¶ The electronic structure result.
-
__init__
(a_dict=None)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
([a_dict])Initialize self.
clear
()- rtype
None
combine
(result)Any property from the argument that exists in the receiver is updated.
copy
()fromkeys
(iterable[, value])get
(k[,d])Returns whether dipole moment is present in result or not
Returns whether result has aux op observables such as spin, num particles
items
()keys
()pop
(key[, default])If key is not found, d is returned if given, otherwise KeyError is raised.
popitem
()as a 2-tuple; but raise KeyError if D is empty.
setdefault
(k[,d])update
(*args, **kwargs)If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v
values
()Attributes
return aux operator eigen values
Returns computed electronic part of dipole moment
Returns computed electronic part of ground state energy
Returns dipole moment
Returns dipole moment in Debye
returns eigen energies
returns eigen states
Returns electronic dipole moment
Returns electronic part of ground state energy
Formatted result as a list of strings
Returns frozen extracted part of dipole moment
Returns frozen extracted part of ground state energy
returns ground energy
returns ground state
Returns Hartree-Fock energy
Returns measured magnetization
Returns nuclear dipole moment X,Y,Z components in A.U when available from driver
Returns nuclear repulsion energy when available from driver
Returns measured number of particles
Returns particle hole extracted part of dipole moment
Returns particle hole extracted part of ground state energy
Returns the raw algorithm result.
Returns if electronic dipole moment sign should be reversed when adding to nuclear
Returns computed spin
Returns total angular momentum (S^2)
Returns total dipole of moment
Returns total dipole of moment in Debye
Returns ground state energy if nuclear_repulsion_energy is available from driver
-
property
aux_operator_eigenvalues
¶ return aux operator eigen values
- Tipo de retorno
Optional
[List
[float
]]
-
clear
()¶ - Tipo de retorno
None
-
combine
(result)¶ Any property from the argument that exists in the receiver is updated. :type result:
AlgorithmResult
:param result: Argument result with properties to be set.- Levanta
TypeError – Argument is None
- Tipo de retorno
None
-
property
computed_dipole_moment
¶ Returns computed electronic part of dipole moment
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
computed_energies
¶ Returns computed electronic part of ground state energy
- Tipo de retorno
ndarray
-
property
dipole_moment
¶ Returns dipole moment
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
dipole_moment_in_debye
¶ Returns dipole moment in Debye
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
eigenenergies
¶ returns eigen energies
- Tipo de retorno
Optional
[ndarray
]
-
property
eigenstates
¶ returns eigen states
- Tipo de retorno
Optional
[List
[Union
[str
,dict
,Result
,list
,ndarray
,Statevector
,QuantumCircuit
,Instruction
,OperatorBase
]]]
-
property
electronic_dipole_moment
¶ Returns electronic dipole moment
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
electronic_energies
¶ Returns electronic part of ground state energy
- Tipo de retorno
ndarray
-
property
formatted
¶ Formatted result as a list of strings
- Tipo de retorno
List
[str
]
-
property
frozen_extracted_dipole_moment
¶ Returns frozen extracted part of dipole moment
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
frozen_extracted_energy
¶ Returns frozen extracted part of ground state energy
- Tipo de retorno
float
-
get
(k[, d]) → D[k] if k in D, else d. d defaults to None.¶
-
property
groundenergy
¶ returns ground energy
- Tipo de retorno
Optional
[float
]
-
property
groundstate
¶ returns ground state
- Tipo de retorno
Union
[str
,dict
,Result
,list
,ndarray
,Statevector
,QuantumCircuit
,Instruction
,OperatorBase
,None
]
-
property
hartree_fock_energy
¶ Returns Hartree-Fock energy
- Tipo de retorno
float
-
has_dipole
()[código fonte]¶ Returns whether dipole moment is present in result or not
- Tipo de retorno
bool
-
has_observables
()[código fonte]¶ Returns whether result has aux op observables such as spin, num particles
-
items
() → a set-like object providing a view on D’s items¶
-
keys
() → a set-like object providing a view on D’s keys¶
-
property
magnetization
¶ Returns measured magnetization
- Tipo de retorno
Optional
[List
[float
]]
-
property
nuclear_dipole_moment
¶ Returns nuclear dipole moment X,Y,Z components in A.U when available from driver
- Tipo de retorno
Optional
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]
-
property
nuclear_repulsion_energy
¶ Returns nuclear repulsion energy when available from driver
- Tipo de retorno
Optional
[float
]
-
property
num_particles
¶ Returns measured number of particles
- Tipo de retorno
Optional
[List
[float
]]
-
property
ph_extracted_dipole_moment
¶ Returns particle hole extracted part of dipole moment
- Tipo de retorno
Optional
[List
[Tuple
[Optional
[float
],Optional
[float
],Optional
[float
]]]]
-
property
ph_extracted_energy
¶ Returns particle hole extracted part of ground state energy
- Tipo de retorno
float
-
pop
(key, default=None)¶ If key is not found, d is returned if given, otherwise KeyError is raised.
- Tipo de retorno
object
-
popitem
()¶ as a 2-tuple; but raise KeyError if D is empty.
- Tipo de retorno
Tuple
[object
,object
]
-
property
raw_result
¶ Returns the raw algorithm result.
- Tipo de retorno
Optional
[AlgorithmResult
]
-
property
reverse_dipole_sign
¶ Returns if electronic dipole moment sign should be reversed when adding to nuclear
- Tipo de retorno
bool
-
setdefault
(k[, d]) → D.get(k,d), also set D[k]=d if k not in D¶
-
property
spin
¶ Returns computed spin
- Tipo de retorno
Optional
[List
[float
]]
-
property
total_angular_momentum
¶ Returns total angular momentum (S^2)
- Tipo de retorno
Optional
[List
[float
]]
-
property
total_dipole_moment
¶ Returns total dipole of moment
- Tipo de retorno
Optional
[List
[float
]]
-
property
total_dipole_moment_in_debye
¶ Returns total dipole of moment in Debye
- Tipo de retorno
Optional
[List
[float
]]
-
property
total_energies
¶ Returns ground state energy if nuclear_repulsion_energy is available from driver
- Tipo de retorno
ndarray
-
update
(*args, **kwargs)¶ If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v
- Tipo de retorno
None
-
values
() → an object providing a view on D’s values¶
-