Partitions of a symmetric matrix over a finite field