Skip to content

tests should not depends on transpile #19

@Zhaoyilunnn

Description

@Zhaoyilunnn

Some basis gates are not supported by pyquafu, thus the tests mail fail for different qiskit versions.

https://github.com/Zhaoyilunnn/qdao/blob/main/tests/qdao/engine_test.py#L245C9-L251

Specifically, transpile will decompose the circuit into backend specific basis gates. In newer versions of qiskit-aer, this will cause problem for pyquafu

Warning: Operations crz may be not supported by QuantumCircuit class currently.
Warning: Operations crz may be not supported by QuantumCircuit class currently.
Warning: Operations crz may be not supported by QuantumCircuit class currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions