AngularMomentum#

class AngularMomentum(num_spatial_orbitals, overlap=None)[ソース]#

ベースクラス: object

The AngularMomentum property.

The operator constructed by this property is the $S^2$ operator which is computed as:

\[S^2 = (S^+ S^- + S^- S^+) / 2 + S^z S^z\]

警告

If you are working with a non-orthogonal basis, you _must_ provide the overlap attribute in order to obtain the correct expectation value of this observable. Refer to the more extensive documentation of the s_operators module for more details.

参考

The following attributes can be set via the initializer but can also be read and updated once the AngularMomentum 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.

  • overlap (np.ndarray | None) – the overlap-matrix between the $alpha$- and $beta$-spin orbitals. When this is None, the overlap-matrix is assumed to be identity.

Attributes

overlap#

The overlap-matrix between the $alpha$- and $beta$-spin orbitals.

When this is None, the overlap-matrix is assumed to be identity.

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 angular momentum operator.

戻り値:

A mapping of strings to FermionicOp objects.

戻り値の型:

Mapping[str, FermionicOp]