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

[Feature]: Pairwise regularization on unitary trajectories for gate interpolation #67

Closed
9 of 15 tasks
andgoldschmidt opened this issue Jan 24, 2024 · 1 comment · Fixed by #101
Closed
9 of 15 tasks
Assignees
Labels
enhancement New feature or request

Comments

@andgoldschmidt
Copy link
Member

andgoldschmidt commented Jan 24, 2024

Feature Description

Unitary gates can be parameterized for applications like VQAs. For example, $U(\theta, \phi)$ might be a gate within a circuit that is being optimized by some VQA. During optimization, updates $\Delta \theta$ and $\Delta \phi$ occur. It would be nice to have a lookup table of the pulse for any target $U(\theta, \phi)$.

Start with a few targets $\{U(\theta_j, \phi_j)\}^J_{j=1}$. The best way to find controls that interpolate between these gates is to make the unitary trajectories between neighboring goals as close as possible. This can be accomplished by a pairwise unitary trajectory regularizer. In one dimension, a chain of pairs can accomplish this goal. In higher dimensions, we may need pairwise weights according to some connectivity graph.

The way to solve this is probably to allow for quantum systems and trajectories to combined via a non-interacting direct sum. That is, we need $\oplus$ between quantum systems, named trajectories.

Feature to implement

  • Direct sum of quantum systems
  • Direct sum of named trajectories (@aarontrowbridge I can submit a separate PR in NamedTrajectories)
  • Implement UnitaryPairwiseQuadraticRegularizer to keep paths close
  • Implement UnitaryDirectSumProblem to construct direct sum problems from previous problems.
  • Write tests
  • Utilities for coordinating points on surfaces in higher dimensions (triangle for 2D, simplex for 3D, etc.).

Importance

3

What does this feature affect?

  • quantum system construction
  • problem setup
  • problem solution
  • problem performance
  • solution analysis
  • plotting
  • documentation
  • tests
  • other (please specify below)

Other information

No response

@andgoldschmidt andgoldschmidt added the enhancement New feature or request label Jan 24, 2024
@andgoldschmidt andgoldschmidt self-assigned this Jan 24, 2024
@andgoldschmidt
Copy link
Member Author

Some changes to the original solution, this now does a much better job of handling everything via NamedTrajectories.

The problem template structure from 0.2 is also being used to localize the scope of the new code to the direct sum problem template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant