Skip to content

Changed controlled attribute to is_controlled#916

Merged
dstrain115 merged 1 commit intoquantumlib:mainfrom
dstrain115:is_controlled
May 2, 2024
Merged

Changed controlled attribute to is_controlled#916
dstrain115 merged 1 commit intoquantumlib:mainfrom
dstrain115:is_controlled

Conversation

@dstrain115
Copy link
Copy Markdown
Contributor

  • Change controlled attribute to is_controlled or controlled_by.
  • This attribute shadows the controlled() function inherited by GateWithRegisters which is confusing and type-unsafe.

- Change controlled attribute to is_controlled or controlled_by.
- This attribute shadows the controlled() function inherited by
GateWithRegisters which is confusing and type-unsafe.
Copy link
Copy Markdown
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we usually use the term "control_value" or "cvs" but lgtm

@dstrain115 dstrain115 merged commit d0c5732 into quantumlib:main May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants