An electro-optic modulator, wherein the electro-optic modulator is disposed on a surface of a substrate, and the electro-optic modulator comprises: an optical waveguide layer disposed on the substrate; modulation electrodes disposed on the optical waveguide layer; and a metal electrode disposed on the modulation electrodes and electrically connected to the modulation electrodes, wherein a first end of the metal electrode is configured to be coupled to a radio frequency driver; the metal electrode is configured to receive a modulation signal input by the radio frequency driver, and the modulation electrodes are configured to perform electro-optic modulation on the optical waveguide layer based on the modulation signal; a second end of the metal electrode is coupled to a direct-current voltage end, and the direct-current voltage end is configured to input a voltage signal, and provide a bias voltage for the radio frequency driver by using the metal electrode; the optical waveguide layer comprises: an electro-optic crystal layer parallel to the substrate, and a ridge waveguide disposed on a side that is of the electro-optic crystal layer and that is away from the substrate, the modulation electrodes are disposed on two sides of the ridge waveguide, and the modulation electrodes are configured to perform electro-optic modulation on a light wave transmitted by the ridge waveguide; the ridge waveguide comprises: a first branch and a second branch that are symmetrically disposed, an input end of the first branch is coupled to an input end of the second branch, an output end of the first branch is coupled to an output end of the second branch, a first end of the modulation electrodes is coupled to the input ends of the first branch and the second branch, and a second end of the modulation electrodes is coupled to the output end of the first branch and the second branch; and the first end of the modulation electrodes is configured to be coupled to a signal output end of the radio frequency driver, the second end of the modulation electrodes is connected to a terminal resistor, and a phase of an optical signal that is output from the first branch is opposite to a phase of an optical signal that is output from the second branch; and the modulation electrodes comprise a first electrode pair and a second electrode pair, the first electrode pair is symmetrically disposed on two sides of the first branch, and the second electrode pair is symmetrically disposed on two sides of the second branch. an optical waveguide layer disposed on the substrate; modulation electrodes disposed on the optical waveguide layer; and a metal electrode disposed on the modulation electrodes and electrically connected to the modulation electrodes, wherein a first end of the metal electrode is configured to be coupled to a radio frequency driver; the metal electrode is configured to receive a modulation signal input by the radio frequency driver, and the modulation electrodes are configured to perform electro-optic modulation on the optical waveguide layer based on the modulation signal; a second end of the metal electrode is coupled to a direct-current voltage end, and the direct-current voltage end is configured to input a voltage signal, and provide a bias voltage for the radio frequency driver by using the metal electrode; the optical waveguide layer comprises: an electro-optic crystal layer parallel to the substrate, and a ridge waveguide disposed on a side that is of the electro-optic crystal layer and that is away from the substrate, the modulation electrodes are disposed on two sides of the ridge waveguide, and the modulation electrodes are configured to perform electro-optic modulation on a light wave transmitted by the ridge waveguide; the ridge waveguide comprises: a first branch and a second branch that are symmetrically disposed, an input end of the first branch is coupled to an input end of the second branch, an output end of the first branch is coupled to an output end of the second branch, a first end of the modulation electrodes is coupled to the input ends of the first branch and the second branch, and a second end of the modulation electrodes is coupled to the output end of the first branch and the second branch; and the first end of the modulation electrodes is configured to be coupled to a signal output end of the radio frequency driver, the second end of the modulation electrodes is connected to a terminal resistor, and a phase of an optical signal that is output from the first branch is opposite to a phase of an optical signal that is output from the second branch; and the modulation electrodes comprise a first electrode pair and a second electrode pair, the first electrode pair is symmetrically disposed on two sides of the first branch, and the second electrode pair is symmetrically disposed on two sides of the second branch.