Quirk
Interface between Quirk and QuantumFlow
https://algassert.com/quirk
-
quantumflow.xquirk.circuit_to_quirk(circ: Circuit, translate: bool = False) → str
Convert a QuantumFlow Circuit to a quirk circuit (represented as a
JSON formatted string).
-
quantumflow.xquirk.quirk_url(quirk: str, base_url: str = 'https://algassert.com/quirk#circuit={}', escape: bool = False) → str
Given a quirk circuit, returns the corresponding quirk web-server URL
-
quantumflow.xquirk.open_quirk_webserver(circ: Circuit) → None
Translate a Circuit to quirk and open the quirk
webapp in a browser window