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

Introducing trainable-encoding layers #48

Open
wants to merge 3 commits into
base: diffrules
Choose a base branch
from

Conversation

MatteoRobbiati
Copy link
Contributor

No description provided.

@MatteoRobbiati MatteoRobbiati changed the base branch from main to diffrules November 4, 2024 17:25
Comment on lines +20 to +23
gates_list: Optional[List[gates.Gate]] = [
gates.RY,
gates.RZ,
], # TODO: this has to be a circuit
Copy link
Collaborator

Choose a reason for hiding this comment

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

Correct me if I'm wrong, but it seems like this entire file is a duplication of qibo.models.encodings.phase_encoder and qibo.models.encodings.entangling_layer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes that is true! Those are just small and simple functions to make qiboml work now :)

But they are definitely temporary

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