Skip to content

Change sampling from matrix index to tensor index#33

Merged
kmp5VT merged 24 commits into
mainfrom
kmp5/refactor/update_sampling_for_large_tensors
Jun 14, 2026
Merged

Change sampling from matrix index to tensor index#33
kmp5VT merged 24 commits into
mainfrom
kmp5/refactor/update_sampling_for_large_tensors

Conversation

@kmp5VT

@kmp5VT kmp5VT commented May 10, 2026

Copy link
Copy Markdown
Owner

To start addressing #30 , we need to migrate sampled indices from matrix based to tensor-index based. This requires the refactoring of major components of the code but overall accuracy should not be modified. This PR does not address the problem with methods like SE-QRCS where row-pivots will be returned in the column-wise notation which can overflow Integer types. This issue also persists in the contraction of sparse count-sketch matrices with the tensors.

@kmp5VT

kmp5VT commented May 10, 2026

Copy link
Copy Markdown
Owner Author

For the most-part the code is updated and working as expected. The only code that is currently failing is the omega_hadamard function which is only used in the KSEQRCSPivProjected method. Working to fix this last issue before merging but tests are currently flagged as broken in the code.

@kmp5VT kmp5VT merged commit 42da967 into main Jun 14, 2026
2 checks passed
@kmp5VT kmp5VT deleted the kmp5/refactor/update_sampling_for_large_tensors branch June 14, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant