Frequency Domain Quantum Processing via Four-Wave Mixing