QCHackers / tqec

Design automation software tools for Topological Quantum Error Correction
https://qchackers.github.io/tqec/
Apache License 2.0
60 stars 17 forks source link

[Do not Merge] This is an example for PYTHON <-> JS interaction #238

Open Gistbatch opened 4 months ago

Gistbatch commented 4 months ago

@giangiac

This is a very brief example of how Python and JS can interact. Let me know if you have any questions

giangiac commented 3 months ago

@Gistbatch Thanks for the PR.

I moved the alternative frontend back to the codebase (see #PR250) Then I tried to adapt your example to that context (see #PR3 in my fork). In this way you can see the difference w.r.t. the current alternative backend.

Not sure what is supposed to happen when "get" and "post" are clicked. could you give a look if things are set up properly?