Implementations¶
Operations¶
All operation implementations are located in tweedledum/operations/
:
Interface method |
w2_op |
w3_op |
wn32_op |
---|---|---|---|
Constants |
|||
|
2 |
3 |
32 |
|
32 |
||
Properties |
|||
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
Iterators |
|||
|
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
Networks¶
All network implementations are located in tweedledum/networks/
:
Interface method |
netlist |
op_dag |
mapped_dag |
unitary |
---|---|---|---|---|
Properties |
||||
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
Node |
||||
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
Node custom values |
||||
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
Wires |
||||
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
Create operations |
||||
|
✓ |
✓ |
✓ |
✓ |
Iterators |
||||
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
|
✓ |
✓ |
✓ |
|
Node iterators |
||||
|
✓ |
✓ |
✓ |
|
Mapping |
||||
|
✓ |
|||
|
✓ |
|||
|
✓ |