setTooltipMatrixFunc(matrixFunc) {
        this.gate._knownMatrixFunc = _ => matrixFunc();
        this.gate._stableDuration = Infinity;
        return this;
    }
@param {!function() : !Matrix} matrixFunc
@returns {GateBuilder}