mrmustard.lab_dev.circuit_components

A base class for the components of quantum circuits.

Classes

CircuitComponent([representation, ...])

A base class for the circuit components (states, transformations, measurements, and any component made by combining CircuitComponents).

AdjointView(component)

Adjoint view of a circuit component obtained by swapping the ket/bra wires and conjugating the representation.

DualView(component)

Dual view of a circuit component obtained by swapping the input/output wires and conjugating the representation.

Class Inheritance Diagram

Inheritance diagram of mrmustard.lab_dev.circuit_components.CircuitComponent, mrmustard.lab_dev.circuit_components.AdjointView, mrmustard.lab_dev.circuit_components.DualView