raqet_py.spins_expect

Spins module of Raqet Python interface

Module for representing `ExpectProduct`s and `ExpectOperator`s.

Classes

ExpectOperator

ExpectOperators are combinations of ExpectProducts with coefficients

ExpectProduct

ExpectProducts are products of expectation values

class raqet_py.spins_expect.ExpectOperator

ExpectOperators are combinations of ExpectProducts with coefficients

static json_schema()

Return the JsonSchema for the json serialisation of the class.

Returns:

The json schema serialized to json

Return type:

str

class raqet_py.spins_expect.ExpectProduct

ExpectProducts are products of expectation values

static json_schema()

Return the JsonSchema for the json serialisation of the class.

Returns:

The json schema serialized to json

Return type:

str