Partitioning technique for discrete quantum systems