Traits§
- Name
Mapper - A trait used to return names for input and output gates when creating copies of circuits.
Functions§
- deep_
copy - Creates a deep / independent copy of the given circuit.
The
name_mapperis responsible for returning new names for the inputs and outputs. If thename_mapperreturns existing names for inputs, these gates will still be shared, since input nodes are identified by their names. - deep_
copy_ of_ gate