Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item renaming #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

pyrohedgehog
Copy link

Removed some unneeded array constructors in calls. It makes little difference but clears things up a bit.
renamed one-letter variables to something clearer.

this shouldn't have any real changing effects. PR is purely cleaning and renaming.

I can't see any reason for these arrays to be generated around a single item, jut to pass the single int. Removed for legibility.
just trying to improve legibility by adding some clearer variable names.
@itsubaki
Copy link
Owner

itsubaki commented Apr 8, 2024

Thanks for PR.

The variable g in the quantum/gate package should be immediately recognizable as representing gate in many cases.
The Array constructors are certainly not needed. I will merge them if you can create a PR for this part.

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.

None yet

2 participants