function initSerializer(gateLabelDrawer, gateMatrixDrawer, gateCircuitDrawer, locationIndependentGateDrawer) {
    labelDrawer = gateLabelDrawer;
    matrixDrawer = gateMatrixDrawer;
    circuitDrawer = gateCircuitDrawer;
    locationIndependentDrawer = locationIndependentGateDrawer;
}
@param {!function(!GateDrawParams)} gateLabelDrawer
@param {!function(!GateDrawParams)} gateMatrixDrawer
@param {!function(!GateDrawParams)} gateCircuitDrawer
@param {!function(!GateDrawParams)} locationIndependentGateDrawer