Prepending, inserting and appending circuits to another circuit. More...
Namespaces | |
namespace | revkit |
Main namespace. | |
Functions | |
void | append_circuit (circuit &circ, const circuit &src, const gate::line_container &controls=gate::line_container()) |
Insert a circuit src at the end of another circuit circ . More... | |
void | prepend_circuit (circuit &circ, const circuit &src, const gate::line_container &controls=gate::line_container()) |
Insert a circuit src at the beginning of another circuit circ . More... | |
void | insert_circuit (circuit &circ, unsigned pos, const circuit &src, const gate::line_container &controls=gate::line_container()) |
Insert a circuit src before gate pos (counting from 0) of another circuit circ . More... | |
Prepending, inserting and appending circuits to another circuit.