Skip to content

[Bug]: Circuit.draw pdftocairo from poppler on Windows #259

@benjvmin93

Description

@benjvmin93

Describe the bug
Pdftocairo is required in pattern.to_png() and circuit.draw("latex"). It can be easily installed on Mac OS and linux using their respective package manager.

On Windows, none of the installations within the CI worked.

We need to find a way to install poppler binaries, containing pdftocairo executable for Windows.

To Reproduce
Run the test_circuit_draw_latex or test_draw_pattern_latex by removing the first decorator checking if the os is Windows.

Expected behavior
A clear and concise description of what you expected to happen.

Environment (please complete the following information):

  • OS: [e.g. Windows10, macOS Monteley]
  • Python version: [e.g. 3.8.1]
  • Related module versions if applicable: [e.g. numpy=1.23.5]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions