Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 128 bit indices #35

Open
rumschuettel opened this issue Jul 2, 2018 · 0 comments
Open

Allow 128 bit indices #35

rumschuettel opened this issue Jul 2, 2018 · 0 comments
Assignees
Milestone

Comments

@rumschuettel
Copy link

https://github.com/ZKSI/QI.jl/blob/53c59ff12e49b69558529275bdd0e974115fae74/attic/src/sparse/base_sparse.jl#L1

Hi there,

great work! Could you by any chance allow the use of a custom index type? This makes a lot of sense e.g. for extremely shallow circuits, where the state vector is very sparse throughout but could e.g. be on 100 qubits; BigInt would be awesome, but if that's an issue then maybe at least Int128, as an option? And maybe even allow Int32, for relatively dense sparse matrices -- saves a lot of memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants