qiskit.quantum_info.XXDecomposer.num_basis_gates¶ XXDecomposer.num_basis_gates(unitary)[source]¶ Counts the number of gates that would be emitted during re-synthesis. NOTE: Used by ConsolidateBlocks.