Library Structure

Subpackage Organization

QAlgebra is organized into the sub-packages outlined below. Each package may in turn contain several sub-modules.

Every package exports all public symbol from all of its sub-packages/-modules in a “flat” API. Thus, a user can directly import from the top-level qalgebra package.

In order from high-level to low-level:

qalgebra

Main QAlgebra package

qalgebra.convert

Conversion to QuTiP and Sympy

qalgebra.printing

Printing system for QAlgebra Expressions and related objects

qalgebra.toolbox

Collection of tools to manually manipulate algebraic expressions

qalgebra.library

Collection of algebraic objects extending core

qalgebra.core

The fundamental object hiearchies that constitute QNET’s various algebras

qalgebra.pattern_matching

QNET’s pattern matching engine.

qalgebra.utils

Auxiliary utilities, mostly for internal use

See also the full Module Index

Class Hierarchy

The following is an inheritance diagram of all the classes defined in QAlgebra (this is best viewed as the full-page SVG):

SVG

Inheritance diagram of qalgebra