Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Added init file. - #951

Closed
AGaliciaMartinez wants to merge 2 commits into
google:masterfrom
AGaliciaMartinez:add_init_to_quantum
Closed

AGaliciaMartinez wants to merge 2 commits into
google:masterfrom
AGaliciaMartinez:add_init_to_quantum

Conversation

@AGaliciaMartinez

Copy link
Copy Markdown

I added the init file to the quantum module. To import the module it suffices to do tensornetwork.quantum instead of tensornetwork.quantum.quantum. Also, the only imported functions are those included in __all__ so that autocompletion works better.

@google-cla

google-cla Bot commented Oct 29, 2021

Copy link
Copy Markdown

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-cla google-cla Bot added the cla: no label Oct 29, 2021
@AGaliciaMartinez

Copy link
Copy Markdown
Author

@googlebot I signed it!

@AGaliciaMartinez

AGaliciaMartinez commented Dec 20, 2021 •

Copy link
Copy Markdown
Author

It seems the CI is failing due to pylint. It complains that from_tensor method, when overridden by its subclasses, has a different number of parameters than the parent class. I would prefer not to change those methods in this PR as I believe to be out of its scope. Any suggestions on how to proceed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant