qn

Crates.ioqn
lib.rsqn
version0.2.0
sourcesrc
created_at2023-07-13 21:50:00.371389
updated_at2023-07-15 19:59:52.588412
descriptionNon-local qubits
homepagehttps://github.com/marek-miller/qn
repositoryhttps://github.com/marek-miller/qn.git
max_upload_size
id915673
size48,125
Marek Miller (marek-miller)

documentation

README

qn

Test Docs

A non-local system of qubits and a collection of thread-safe qubit transformations.

  • Emulate entangled physical systems in concurrent code: measurements in one thread have immediate effect on measurements of entangled qubits in other parts of the system.

  • Synchronization primitives and borrow checker assure thread-safety and uniqueness of qubits.

  • Tensor structure of the Hilbert space allows for straightforward parallelization: we use rayon's parallel iterators to squeeze maximum performance out of CPU (what about GPU?):

    • Simple benchmarking suggests measurement of a single qubit in a 20 qubit register is already faster than with quest_bind. What about raw QuEST?

TODO

  • Write gates/operators, expand test suite.
  • Write intro:
    • quantum info perspective
    • system programming perspective
  • Write example: A and B share a Bell state
  • Write documentation and tutorial in README.md
Commit count: 46

cargo fmt