microsoft / QuantumKatas

Tutorials and programming exercises for learning Q# and quantum computing
MIT License
4.53k stars 1.21k forks source link

Add Memory Management Tutorials and Concepts #884

Open metahris opened 1 year ago

metahris commented 1 year ago

Hello,

Would you please add some tutorials and basic concepts about Quantum memory management in a Q# program?

Thanks Mohamed

tcNickolas commented 1 year ago

Could you clarify what do you mean by "quantum memory management in Q#"?

If it's the memory management the way Q# documentation defines it, qubit allocation and deallocation, it's briefly covered in the Qubit and Multi-Qubit Systems tutorials, and it doesn't really have much depth beyond that.

If, however, you mean QRAM and QROM-adjacent topics, they're slightly more advanced than I'm prepared to dive into right now :-) There are some QRAM materials in https://github.com/qsharp-community/qram that you could probably use as a starting point.