get_qpic_data#
View source on GitHub
|
Get the input data that can be used to draw a latex diagram for bloq using qpic.
qualtran.drawing.qpic_diagram.get_qpic_data(
bloq: 'Bloq', file_path: Union[None, pathlib.Path, str] = None
) -> List[str]
Args
bloqBloqs to draw the latex diagram for
file_pathIf specified, the output is stored at the file. Otherwise, the data is returned.
View source on GitHub