Quantum ToolkitTypesLatticeMethodsnum_unit_cellsOn this pagenum_unit_cells Method of Lattice. num_unit_cells() -> integer Returns the number of unit cells in the lattice.