Any code/examples/blog posts on quantum computing with nimlang?
recently reading a paper on twist by MIT and wondered if Nim is so versatile, could there be a use-case here?
I'm not very familiar with Quantum computer, but when we're talking about radically different architectural design, you should be asking whether C can be used for it. I tend to believe C wouldn't work as well as you'd imagine because it's actually missing some things that can speed up programs, such as access to registers. Of course, you can do inline assembly and do whatever you need, but that's not C anymore.
So to answer your question in a roundabout way, it fully depends on the backend's ability to support quantum-specific features. As it is, CPUs function much differently from how C (and most other programming languages) present the world. There's an article you may be interested in on the topic.
@termer Your analysis makes a lot of sense; a tool that fits the problem - nim wasnt particularly designed for that problem.
you and @MichalMarsalek both highlighted a nim feature that can overcome the context barrier, either a new hypothetical backend and or a macro to translate nim.
I also agree with the python POV, which seems to be the direction rust developers are also taking (theres a few of rust QQ out there)
I imagine some brave nim developers will eventually branch in this direction as well