qnet.algebra.scalar_types module

This module defines SCALAR_TYPES, the list of types that scalars in any algebraic operation may have. The lists consist of the following:

Summary

Data:

SCALAR_TYPES list of types that are considered scalars

__all__: SCALAR_TYPES

Reference

qnet.algebra.scalar_types.SCALAR_TYPES = (<class 'int'>, <class 'float'>, <class 'complex'>, <class 'sympy.core.basic.Basic'>, <class 'numpy.int64'>, <class 'numpy.complex128'>, <class 'numpy.float64'>)

list of types that are considered scalars