Skip to content

Change sampling from matrix index to tensor index#33

Open
kmp5VT wants to merge 16 commits into
mainfrom
kmp5/refactor/update_sampling_for_large_tensors
Open

Change sampling from matrix index to tensor index#33
kmp5VT wants to merge 16 commits into
mainfrom
kmp5/refactor/update_sampling_for_large_tensors

Conversation

@kmp5VT
Copy link
Copy Markdown
Owner

@kmp5VT kmp5VT commented May 10, 2026

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
Copy link
Copy Markdown
Owner Author

kmp5VT commented May 10, 2026

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.

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