Skip to content

Conversion between InstructionSetArchitecture and CompilerISA is lossy #148

@notmgsk

Description

@notmgsk

The openapi schema generated for rust has a lot of f32 where it ought to be f64. For example, the value of a characteristic maps to the operation “fidelity” in quilc, where it is expected to be an f64.

This isn’t a show-stopping problem, since the Python bindings take in a compiler ISA which has the correct type. For non-pyquil users, however, the compiler ISA is not readily accessible (in pyquil it is derived from the QCS ISA). The QCS ISA, on the other hand, is something anyone can get from the QCS API, and so we ought to support that type. If/when we do, we’ll need to fix the f32 types in the openapi model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions