def track_circuit_operation_count(self, distance: int) -> int:
        """Benchmark operation count for Rotated Bottom-Z Surface code."""
        circuit = surface_code_circuit(distance, distance * distance)
        return sum(1 for _ in circuit.all_operations())
Benchmark operation count for Rotated Bottom-Z Surface code.
benchmarks/circuit_construction.py