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

Implement KrausOperators and conversions #177

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akirakyle
Copy link
Member

@akirakyle akirakyle commented Oct 7, 2024

This builds on #115 and adds a KrausOperators type which represents an abstract superoperator in the Kraus representation, along with functions to convert to/from the Superoperator and ChoiState types.

I'm opening this as a draft PR as I work through the remaining TODO items:

  • another type for the Kraus representation
  • converters back and forth between the 3 types
  • application methods (e.g. at the very least having multiplication operator between superoperators and density matrices)
  • test for correctness
  • docstrings with doctest-based examples

I had tried to figure out how to convert to KrausOperators directly from sparse superoperators using both KryolovKit and Arnoldi, however it seems tricky to do in general as for an arbitrary superoperator one cannot know a priori what its Kraus rank is without calculating it's eigenvalues. I thought it might work to ask for, say sqrt(dim) largest eigenvalues then check if the smallest of these was close to zero, however apparently Kryolov methods cannot robustly handle finding all eigenvectors associated to degenerate eigenvalues. Thus this method cannot be used to reliabely find the Kraus representation of a superoperator, even when the superoperator has small Kraus rank.

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.

1 participant