qutip-qip
qutip-qip copied to clipboard
saving a circuit with latex method as a PDF fails
If a user wants to call
circuit.draw(renderer="latex", file_type="pdf", file_name="circuit")
it fails with
TypeError: TeXRenderer._convert_pdf() takes 1 positional argument but 2 were given
This is because https://github.com/qutip/qutip-qip/blob/7633f6e4dbae7e6931eda800df21d42016df8431/src/qutip_qip/circuit/texrenderer.py#L267C4-L267C33
is called with a DPI argument.