We're celebrating World Quantum Day 2022! Join us

fqe.SzOperator

The :math:S_z operator.

Inherits From: FqeOperator

Methods

contract

View source

Given two wavefunctions, generate the expectation value of the operator according to its representation.

Args
brastate Wavefunction on the bra side.
ketstate Wavefunction on the ket side.

rank

View source

Returns the rank of the Sz operator.

representation

View source

Returns the representation of the Sz operator.