Skip to content

Add a way to retrieve qpy version #14201

@jesus-talavera-ibm

Description

@jesus-talavera-ibm

What should we add?

Currently there is not a function or property to get version for a given qpy object.

Checking qiskit code, I found that inside qpy.load() implementation it is done reading header, we could copy that piece of code, but if implementation changes it will break ours. It would be better to have a property or a function in qpy package to retrieve this information.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions