Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.to_gate

QuantumCircuit.to_gate(parameter_map=None, label=None)[소스]

Create a Gate out of this circuit.

매개변수
  • 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.

  • label (str) – Optional gate label.

반환

a composite gate encapsulating this circuit (can be decomposed back)

반환 형식

Gate