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

qiskit.circuit.QuantumCircuit.decompose

QuantumCircuit.decompose(gates_to_decompose=None, reps=1)[소스]

Call a decomposition pass on this circuit, to decompose one level (shallow decompose).

매개변수
  • gates_to_decompose (str or list(str)) – optional subset of gates to decompose. Defaults to all gates in circuit.

  • reps (int) – Optional number of times the circuit should be decomposed. For instance, reps=2 equals calling circuit.decompose().decompose(). can decompose specific gates specific time

반환

a circuit one level decomposed

반환 형식

QuantumCircuit