Magnetization#

class Magnetization(num_spatial_orbitals)[ソース]#

ベースクラス: object

The Magnetization property.

The following attributes can be set via the initializer but can also be read and updated once the Magnetization object has been constructed.

num_spatial_orbitals#

the number of spatial orbitals.

Type:

int

パラメータ:

num_spatial_orbitals (int) – the number of spatial orbitals in the system.

Methods

interpret(result)[ソース]#

Interprets an EigenstateResult in this property’s context.

パラメータ:

result (EigenstateResult) – the result to add meaning to.

second_q_ops()[ソース]#

Returns the second quantized magnetization operator.

戻り値:

A mapping of strings to FermionicOp objects.

戻り値の型:

Mapping[str, FermionicOp]