toReadableJson(includeOutputAmplitudes=true) {
        let result = {
            time_parameter: this.time,
            circuit: Serializer.toJson(this.circuitDefinition),
            chance_of_surviving_to_each_column: this._survivalRates,
            computed_bloch_vectors_by_column_then_wire: this._qubitDensities.map(
                col => col.map(singleQubitDensityMatrixToReadableJson)
            ),
            displays: this._customStatsToReadableJson()
        };
        if (includeOutputAmplitudes) {
            result['output_amplitudes'] = complexVectorToReadableJson(this.finalState.getColumn(0));
        }
        return result;
    }
Converts the circuit stats into an exportable JSON object.
@param {!boolean} includeOutputAmplitudes
@returns {!object}