<human>:  How do you design a circuit that can be used to detect a pulse of light?
<bot>: You can use a photodiode. It’s a semiconductor device that converts light into an electric current. You can also use a phototransistor, which is a semiconductor device that converts light into an electric current.