Correct using of Reexport

albertomercurio
Wed, 12 Feb 2025 16:27:45 +0000
General Usage

Hello,

I’m developing the QuantumToolbox.jl package, to simulate quantum systems in Julia. This package mainly uses linear algebra operations on sparse and dense arrays. Thus, I have those two packages as dependencies.

Moreover, I was using Reexport.jl to re-export those package when I do using QuantumToolbox. In this case they are already imported.

I was wondering if this is a good procedure. I saw that the functions are exported as QuantumTollbox.eigen instead of LinearAlgebra.eigen for example.

Is this still a good way to proceed?

I’m almost releasing the stable channel, and I would like to set these dependencies definitely.

13 posts - 3 participants

Read full topic