Detection of PIK3CA mutations is generally performed using molecular diagnostics techniques such as polymerase chain reaction (PCR), next-generation sequencing (NGS), and digital droplet PCR. These methods allow for the precise identification of specific mutations within the gene, aiding in the diagnosis and management of cancer.