The Converters between different Representations

This module contains the functions to convert between different representations.

Functions

to_fock(rep[, shape])

A function to map Representations to Fock representations.

Variables

Iterable

A generic version of collections.abc.Iterable.

Optional

Optional[X] is equivalent to Union[X, None].

Union

Union type; Union[X, Y] means either X or Y.

math

A class to manage the different backends supported by Mr Mustard.

settings

A class containing various settings that are used by Mr Mustard throughout a session.