量子電腦的編程範式日新月異,仿制Oreilly的QCEngine用於教學有好大好處。QCEngine的building block只有十數個,要仿制唔難。睇左代碼,佢係用JS嘅Eval去執行模擬,原理唔高深。https://github.com/machinelevel/QCEngine 。至於QCEngine係用Canvas做動畫,用AI改用SVG做,只用左30秒。
Building Block
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.