cis and trans 1,2-dichloroethene have exactly the same six atoms and the same bonds. Only the arrangement differs, and that alone takes the dipole moment from 2.04 D to zero. The clouds are the real computed electron density, coloured by the electrostatic potential. Switch molecules, drag to rotate.
Each C–Cl bond pulls electrons toward chlorine. In cis both Cl sit on the same side, so the pulls add up to a net dipole. In trans they point in opposite directions and cancel exactly.
cis comes out 0.11 kcal/mol lower than trans. Small, but cis-1,2-dichloroethene being the slightly more stable isomer is a textbook case known as the "cis effect".
Measured dipole of cis-1,2-dichloroethene is about 1.9 D; this calculation gives 2.04 D. Trans is zero by symmetry in both.
PySCF · B3LYP/6-31G*
geometry optimised (Berny)
density 72³ grid · potential 48³
cis E = −997.770152 Ha
trans E = −997.769980 Ha