confinement effect, power consumption, and scalability issues. Multifunctional optoelectronic devices, suitable for logic operation, retinomorphic sensors, and biological neural networks, are promising candidates to achieve next-generation high-performance multifunctional integrated circuits.Among the various semiconductor materials, 2D materials of the transitionmetal dichalcogenide (TMDC) family [1,2] (molybdenum disulfide (MoS 2 ), tungsten disulfide (WS 2 ), etc.) provide a feasible platform for construction of electronic and optoelectronic devices with excellent characteristics and novel functions, such as metal-oxide-semiconductor field-effect transistors, [3][4][5] junction field-effect transistors, [6][7][8] photodetectors, [9][10][11] and memory devices. [12][13][14][15] Moreover, various logic gates, such as inverter, NAND, NOR, and XOR gates, have been recently proposed. [16][17][18][19][20] Logic half-adder circuits, parity-checker circuits, and microprocessors based on TMDC devices have already been implemented. [21][22] Simultaneously, TMDC-based electronic devices can be used for artificial neural network applications. [23][24][25][26] Due to the carriers trapping at defect and impurity sites, the current of a device does not recover back to its original value even after a prolonged time period, denoted as photoconductivity effect (PPC) effect. [27,28] Using this PPC characteristic, artificial synapses are achieved and the synaptic functions have been successfully emulated. [29][30][31] For example, a floating-gate MoS 2 device can model the spike time-dependent plasticity learning rule, which was used to develop a neuromorphic hearing system. [32] Better control of the channel is crucial to further improve the performances of existing electronic and optoelectronic devices. A dual-gate structure, which enhances the control ability of the gate electrode to the channel by manipulating the carrier transport or forming homojunctions in the device, has been proposed to achieve high-performance electronic [33][34][35] and optoelectronic devices. [36][37][38] To better use the control ability of the dual-gate structure to the channel, a new approach to gate structure design is required for realization of next-generation devices. It is also of significance to analyze whether the novel designed gate structure is beneficial for realization Better control of the channel is crucial to improve the performance of existing electron devices. A phototransistor with a specifically designed dual-gate structure based on a vertical van der Waals heterojunction of WS 2 and MoS 2 is proposed. The top gate modulates the carrier transport in WS 2 at the top of the heterojunction, whereas the back gate can simultaneously control the carrier transport in both MoS 2 and WS 2 regions located on either side of the heterojunction. Therefore, the rectification ratio of the WS 2 /MoS 2 heterojunction can be modified from approximately 1 to above 10 4 . A very low subthreshold swing of 47 mV dec −1 is obtained. Optoelectronic chara...