Skip to content

WS-specific Low-level matrix multiplication #40

@kameyer226

Description

@kameyer226

Because model WrightSim Hamiltonians have a specific size and number of non-zero elements, it is possible to create and compile a low-level matrix-vector multiplication method to be used in WrightSim propagate.py at near run-time, or more likely well in advance. The elements would be analyzed and a specific multiplication code compiled, bypassing numpy's dot and or matmul methods. The result could be a run time decrease by the sparseness of the Hamiltonian ( up to nearly 1/ length of density elements , for example leading to a time 90% faster for a 10-length density vector).

Here is a discussion of whether such a concept would be worthy and implementation be viable and how it might be accomplished.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions