Skip to main content

Module tensor_provenance

Module tensor_provenance 

Source
Expand description

Tensor Provenance Tracking

Implements provenance-linked tensor state representation in the graph. Tracks the origin, transformations, and data lineage of tensor states for reproducibility and auditability of numerical computations.

§Architecture

  • Provenance Chain: Each tensor state maintains a chain of parent states
  • Operation Tracking: Records the operation that produced each state
  • Metadata Persistence: Stores provenance metadata in Quin fields
  • Graph Integration: Links tensor states through subject/object relationships

§Usage

use qualia_core_db::modalities::calculus::tensor_provenance::{TensorState, TensorProvenance};

let state = TensorState::new([1.0, 2.0, 3.0]);
let transformed = state.apply_operation("rk4_step", &params);
let provenance = transformed.get_provenance();

Structs§

ProvenanceGraph
Graph structure for tracking tensor state relationships
TensorState
Represents a tensor state with provenance tracking

Enums§

TensorProvenance
Provenance information for a tensor state