A light-emitting component includes laser elements and a setting unit. Each laser element is set to be in an on state with a logical value “m (m represents an integer of 1 or more)”, an on state considered as having a logical value “0”, or an off state. The setting unit sets the laser element to be in a state ready to transition to an on state and sets the laser element in the state ready to transition to the on state to be in the on state considered as having a logical value “0” before a timing of setting the laser element to the on state with a logical value “m”.