Classification#

This module provides composite types, enums, dictionaries, and functions for the classification of quantum states and gates. It is not intended to be used directly by the user.

from qhronology.utilities import classification

Composite types, enums, dictionaries, and functions for the classification of quantum states and gates. Not intended to be used directly by the user.

class Forms(
*values,
)[source]#
class Kinds(
*values,
)[source]#
class Shapes(
*values,
)[source]#
count_rows(
matrix: MutableDenseMatrix | ImmutableDenseMatrix | ndarray,
) int[source]#

Count the number of rows of matrix.

count_columns(
matrix: MutableDenseMatrix | ImmutableDenseMatrix | ndarray,
) int[source]#

Count the number of columns of matrix.

matrix_form(
matrix: MutableDenseMatrix | ImmutableDenseMatrix | ndarray,
) str[source]#

Describe the form of matrix using the terminology of mathematics.

matrix_shape(
matrix: MutableDenseMatrix | ImmutableDenseMatrix | ndarray,
) str[source]#

Describe the shape of matrix using the terminology of mathematics.