In an optical module, a waveguide unit has a wavelength filter having a ring resonator structure. When the lens barrel is in the storage state, an opening of a lens shutter is opened to enter lens groups into the opening. A SBF is determined for each of P number of bits per symbol associated with a second modulation order based on the SNR associated with the base symbol.