We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Embedded operators interface is not flexible enough to handle generic systems.
This is my current solution to construct from levels and embedding levels:
CZ = [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 -1] levels = [3, 3] embedding = [1:2, 1:2] subspace_indices = get_subspace_indices(embedding, levels) U_goal = EmbeddedOperator( embed(CZ, system, subspace=subspace_indices), subspace_indices, levels )
1 (lowest)
No response
The text was updated successfully, but these errors were encountered:
Desired behavior is that a user always passes the subsystem operator, never the embedded operator:
U_goal = EmbeddedOperator( GATES[:CZ], system, subspace=get_subspace_indices([1:2, 1:2], [3, 3]) )
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Feature Description
Embedded operators interface is not flexible enough to handle generic systems.
This is my current solution to construct from levels and embedding levels:
Importance
1 (lowest)
What does this feature affect?
Other information
No response
The text was updated successfully, but these errors were encountered: