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", ¶ms);
let provenance = transformed.get_provenance();Structs§
- Provenance
Graph - Graph structure for tracking tensor state relationships
- Tensor
State - Represents a tensor state with provenance tracking
Enums§
- Tensor
Provenance - Provenance information for a tensor state