BasicInterface
QuICT.tools.interface.basic_interface.BasicInterface ¶
Bases: object
the basic interface of general processor
these interface is devoted to make out circuit more general, for example, mutual conversion with qiskit code or OpenQASM 2.0 code.
the function "load_circuit" and "load_file" should be overloaded
Attributes:
-
circuit(Circuit)–the circuit in our framework
-
text_content–another form content
Source code in QuICT/tools/interface/basic_interface.py
load_circuit
staticmethod
¶
load the circuit from our framework
Parameters:
-
circuit(Circuit)–the circuit to be loaded
Source code in QuICT/tools/interface/basic_interface.py
load_file
staticmethod
¶
load the content from our file
Parameters:
-
filename(str)–filename