Implementations

Operations

All operation implementations are located in tweedledum/operations/:

Interface method

w2_op

w3_op

wn32_op

Constants

max_num_wires

2

3

32

circuit_max_num_wires

32

Properties

num_wires

num_controls

num_targets

control

target

position

wire

is_adjoint

is_dependent

Iterators

foreach_control

foreach_target

Networks

All network implementations are located in tweedledum/networks/:

Interface method

netlist

op_dag

mapped_dag

unitary

Properties

name

size

capacity

reserve

num_operations

check_gate_set

Node

id

node

Node custom values

default_value

value

incr_value

decr_value

Wires

create_qubit

create_cbit

wire

wire_name

wire_mode

Create operations

create_op

Iterators

foreach_wire

foreach_input

foreach_output

foreach_op

foreach_node

Node iterators

foreach_child

Mapping

v_to_phy

init_phy_to_v

phy_to_v