quil-lang / quil

Specification of Quil: A Practical Quantum Instruction Set Architecture
https://quil-lang.github.io/
Apache License 2.0
105 stars 16 forks source link

Make DEFFRAME Attributes an identifier-keyed map #65

Closed kalzoo closed 1 year ago

kalzoo commented 1 year ago

Currently, the spec defines fixed keys (such as HARDWARE-OBJECT) as attributes of a DEFFRAME. This has some limitations:

This PR proposed a change to make this a simple map<identifier, expression | string> allowing for backends to interpret the information however they'd like. That puts the onus on the hardware provider to describe the information that's present within these, but that feels appropriate given the nature and use of frame definitions in Quil.

stylewarning commented 1 year ago

Sorry this took so long for such a simple change. I think this is a good idea.