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

qiskit.circuit.QuantumCircuit.num_connected_components

QuantumCircuit.num_connected_components(unitary_only=False)[소스]

How many non-entangled subcircuits can the circuit be factored to.

매개변수

unitary_only (bool) – Compute only unitary part of graph.

반환

Number of connected components in circuit.

반환 형식

int