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

interoperability with other packages in the quantum julia ecosystem #199

Open
Krastanov opened this issue Aug 1, 2024 · 3 comments
Open
Labels
help wanted Extra attention is needed

Comments

@Krastanov
Copy link

Hi, folks! How receptive is the team of the following two suggestions:

  • adding a package extension to QuantumToolbox so that it can ingest objects from QuantumOptics.jl and convert them to QuantumToolbox objects
  • adding a package extension to QuantumSymbolics.jl, so that symbolic objects can be converted to QuantumToolbox objects
@albertomercurio
Copy link
Member

Hi @Krastanov,

I think that it is fine to make some extensions with other packages of Quantum stuff. As far as I know, an extension does not influence the package dependencies or the compilation time (correct me if I’m wrong). So, there is no reason in principle to reject a request for making an extension. We are open to these things.

However, I would like to point out a few things. First, we are non directly interested in the other two packages at the moment. So, we do not guarantee a direct support to those extensions, but we are open to anybody else doing this. Second, I don’t know how clever is making an extension for a package like QuantumOptics.jl, since their working principle is basically the same of QuantumToolbox.jl, and one user should use either one package or the other. Indeed, these two packages have very similar functionalities (but very different in syntax and internal structure), and there is no reason to use both of them simultaneously. This is different to QuantumSymbolics.jl, where there is the possibility that somebody use it together with QuantumToolbox.jl.

@Krastanov
Copy link
Author

Thanks, Alberto! Extensions indeed do not affect loading time, time to first use, or precompilation time, if the other package is not present. The utility of a conversion extension with QuantumOptics would be for the downstream user when performing benchmarks or correctness checks or for the downstream developer when setting up interchangeable backends.

@albertomercurio
Copy link
Member

For the moment we prefer to not implement an extension for QuantumOptics.jl. As I said before, the two packages are very similar in terms of purposes of use. One can always create a separate module for making interchangeable backends.

On the other hand, we are open to make an extension for QuantumSymbolics.

@ytdHuang ytdHuang added the help wanted Extra attention is needed label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants