rigetti / pyquil

A Python library for quantum programming using Quil.
http://docs.rigetti.com
Apache License 2.0
1.39k stars 341 forks source link

Add deprecated property to DefFrame for CHANNEL-DELAY attribute #1729

Closed mac01021 closed 5 months ago

mac01021 commented 5 months ago

Description

v4 has added deprecated attribute properties for all the standard defframe attributes, except for CHANNEL-DELAY. I have a bunch of call sites in my v3 codebase that use this attribute and engineers like to benefit from autocompletion in their IDE when accessing channel delays. So here is a PR that adds the missing property.

Checklist

mac01021 commented 5 months ago

@MarquessV Given that I've written this, are you willing to merge it? Or do you view it as a step in the wrong directions?