IntegerComparator.to_gate¶
- IntegerComparator.to_gate(parameter_map=None)¶
Create a Gate out of this circuit.
- Parameters
parameter_map (dict) – For parameterized circuits, a mapping from parameters in the circuit to parameters to be used in the gate. If None, existing circuit parameters will also parameterize the gate.
- Returns
a composite gate encapsulating this circuit (can be decomposed back)
- Return type