BOMB DETECTION

This is an impossible thing to do, simple or complex. It has fooled security services for years, there is no solution.

If you want to be more realistic the simplest and most effective is to train a dog to sniff out explosives but that only works for a subset of bombs.