On an abstract level one draws a circuit diagram with wires and gates. Different software frameworks like qiskit
, circ
etc. probably have different ways to represent these circuits.
My first question is if there is now a single standard (or highly compatible with others) format for representing "textbook" quantum circuits?
If we are to run the circuit on an actual hardware we need to get much more specific about the abstract circuit representation. We need to tailor it to the native gates of the hardware, qubit connectivity, physical properties (time to perform gates, error rates etc.). This is called transpilation.
The second question is if there is any standard extended format for quantum circuits that would take into account the hardware data. Or perhaps there is a clever way to separate device specification from the abstract description of a circuit?