Skip to content

Rename RandomGate -> MatrixGate#897

Merged
mpharrigan merged 1 commit intoquantumlib:mainfrom
anurudhp:2024-04-refactor-matrix-gate
Apr 26, 2024
Merged

Rename RandomGate -> MatrixGate#897
mpharrigan merged 1 commit intoquantumlib:mainfrom
anurudhp:2024-04-refactor-matrix-gate

Conversation

@anurudhp
Copy link
Copy Markdown
Contributor

@anurudhp anurudhp commented Apr 25, 2024

The name RandomGate doesn't make sense because we can instantiate with a matrix of choice as well.
This also renames RandomGate.create(...) -> MatrixGate.random(...) which makes more sense.

@mpharrigan @tanujkhattar PTAL

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.

Makes sense to me

@anurudhp anurudhp force-pushed the 2024-04-refactor-matrix-gate branch from be0aba9 to 3dc0662 Compare April 25, 2024 22:32
@mpharrigan
Copy link
Copy Markdown
Collaborator

can you resolve merge conflicts, then I'll merge this in

@anurudhp anurudhp force-pushed the 2024-04-refactor-matrix-gate branch from 3dc0662 to f7104de Compare April 26, 2024 17:30
@anurudhp
Copy link
Copy Markdown
Contributor Author

fixed

@mpharrigan mpharrigan merged commit 4b16d77 into quantumlib:main Apr 26, 2024
@anurudhp anurudhp deleted the 2024-04-refactor-matrix-gate branch April 26, 2024 21:16
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