Zaslat SMS: Abstract structure of unitary oracles for quantum algorithms