quilc icon indicating copy to clipboard operation
quilc copied to clipboard

Allow for lattice names in --isa (e.g. "Aspen-4-4Q-A").

Open notmgsk opened this issue 6 years ago • 4 comments

"8q-qvm" etc

notmgsk avatar Jul 01 '19 16:07 notmgsk

Seems reasonable to me!

ecpeterson avatar Jul 01 '19 17:07 ecpeterson

@notmgsk ~Is this still relevant? Not seeing references to isa outside tests where they are just parsed with yason.~

~Are you looking to make use of the lattice names or just prevent them from breaking a parser?~

Just allow them in lookup-isa-descriptor-for-name app entrypoint? Just some basic matching for the \d+Q? I'd assume the lattice name or -qvm suffix isn't relevant there?

erichulburd avatar Mar 08 '20 22:03 erichulburd

@erichulburd Yeah that's my thought. Mimic the behaviour (where appropriate) of pyQuil's get_qc.

notmgsk avatar Mar 09 '20 16:03 notmgsk

One issue is that the forest server endpoints require HTTPS, and so if we were to pull data from forest server (e.g. for "Aspen-*" lattices) then we would introduce an SSL dependency. That's not a terrible thing, but it would likely mean that we have to distribute an SSL library with the SDK. We should decide whether the cost of that extra dependency is worth the utility of this feature.

notmgsk avatar Mar 09 '20 16:03 notmgsk