jet.circuit

Module containing the Operation, Wire, and Circuit classes.

Classes

Circuit(num_wires, dim)

Circuit represents a quantum circuit composed of wires, each of which is intitialized with a qudit of the specified dimension in the vacuum state.

Operation(part, jet.state.State], wire_ids)

Operation represents the application of a gate or state to a Circuit.

Wire(id_, depth, closed)

Wire represents a collection of tensor indices that are directly or transitively associated with a qudit of a quantum circuit.

Contents