graphix
graphix copied to clipboard
QASM import
Is your feature request related to a problem? Please describe. N/A
Describe the feature you'd like
Add a function or class to graphix.transpiler module, to generate a graphix.Pattern from a QASM-defined circuit, via graphix.transpiler.Circuit transpiler.
We will need to limit its capability to what we can transpile into a pattern (let your new function/class throw exception if encountered operation not covered, but try to hack around as much as possible by e.g. decomposing gates.). See graphix.transpiler.Circuit transpiler class for what is currently allowed.
Additional context