Circuit¶
Circuit ¶
Abstract interface for a circuit.
mk_circuit ¶
Makes the circuit, including inputs and outputs. Optionally, it inserts a namespace.
Args: put_namespace (bool=False): whether to set a namespace
mk_naked_circuit ¶
Makes the naked circuit, using the provided inputs. It fills out the dictionaries with the created nets. Optionally, it inserts a namespace.
Args: inputs (Dict): the inputs to use namespace (bool=False): whether to set a namespace
Returns: (Dict) the ordered dictionary of the outputs