ZZFeatureMap.to_instruction¶
- ZZFeatureMap.to_instruction(parameter_map=None)¶
Create an Instruction 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 instruction. If None, existing circuit parameters will also parameterize the instruction.
- Returns
a composite instruction encapsulating this circuit (can be decomposed back)
- Return type