Operator
- class Operator(matrix)
Represent an operator matrix.
- Parameters:
matrix (
ndarray|Array) – Square operator matrix.
Methods
expectation_value(state)Return the expectation value of the operator with respect to the state.
Attributes
The square operator matrix in the full Hilbert space.