withInitialStates(map) {
        return new CircuitDefinition(
            this.numWires,
            this.columns,
            this.outerRowOffset,
            this.outerContext,
            this.customGateSet,
            this.isNested,
            map);
    }
@param {!Map.<!int, *>} map
@returns {!CircuitDefinition}