qiskit.circuit.QuantumCircuit.num_connected_components¶ QuantumCircuit.num_connected_components(unitary_only=False)[source]¶ 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