Quantum Information Science Library (bqskit.qis)

The bqskit.qis package contains class definitions for common objects found in quantum information science.

The most widely used will be the UnitaryMatrix object which represents a pure quantum operation in matrix form.

Abstract Base Classes

Unitary

A unitary-valued function.

DifferentiableUnitary

A differentiable unitary-valued function.

LocallyOptimizableUnitary

A locally optimizable unitary-valued function.

StateVectorMap

A map from quantum pure states to quantum pure states.

Core Classes

UnitaryMatrix(input[, radixes, check_arguments])

A concrete representation of a unitary matrix.

UnitaryBuilder(num_qudits[, radixes])

An object for fast unitary accumulation using tensor networks.

StateVector(input[, radixes, check_arguments])

A vector representing a pure quantum state.

StateSystem(system)

A system of input and output states.

PauliMatrices(num_qudits)

Pauli group of matrices.

PermutationMatrix(input[, radixes, ...])

A binary, unitary matrix with a single 1 in each row and column.

CouplingGraph(graph[, num_qudits, ...])

A graph representing connections in a qudit topology.

Type Aliases

UnitaryLike

Represent a union type

StateLike

Represent a union type

StateSystemLike

Represent a union type

RealVector

Represent a union type

CouplingGraphLike

Represent a union type