Exemple #1
0
 def _repr_svg_(self):
     return _latex_compile(self.latex_code(), format="svg")
Exemple #2
0
 def _repr_png_(self):
     return _latex_compile(self.latex_code(), format="png")
Exemple #3
0
 def _repr_png_(self):
     return _latex_compile(self.latex_code(), format="png")
Exemple #4
0
 def _repr_svg_(self):
     return _latex_compile(self.latex_code(), format="svg")
Exemple #5
0
def save_circuit(qc, filename):
    _latex_compile(qc.latex_code(), filename=filename)