Wideband circuits for optical communications