That is correct. However, the sizes of the two weapons matter not at all, and a quad laser cannon counts as a single weapon system:
Replacing a light laser cannon with a medium laser cannon = no HP.
Replacing a twin medium laser cannon with a twin light laser cannon = 1 HP. (The same as keeping the twin medium laser cannon and simply adding the twin light laser cannon as an additional weapon).
Replacing a twin medium laser cannon with a quad laser cannon = 0 HP.