An energy-transfer cascade is generated from a cationic conjugated polymer (PFP) and negatively charged, Y-shaped DNA labeled with three dyes at its termini (fluorescein (Fl), Tex Red, and Cy5). Multistep fluorescence resonance energy transfer regulates the fluorescence intensities of PFP and the dyes. Different types of logic gates can be operated by observing the emission wavelengths of different dyes with multiplex nucleases as inputs.