Module disjoint_union

Source

Functionsยง

disjoint_union
Takes a sequence of circuits that might share gates and turns them into a single circuit but with the original circuits being fully independent sub-circuits. This also includes renaming of all shared input and output names.