Closed jmbr closed 4 years ago
Uh oh:
Unhandled ASDF/ACTION:CIRCULAR-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10005984F3}>:
Circular dependency:
((#<ASDF/LISP-ACTION:LOAD-OP > . #<ASDF/SYSTEM:SYSTEM "qvm-app">)
(#<ASDF/LISP-ACTION:LOAD-OP >
. #<ASDF/LISP-ACTION:CL-SOURCE-FILE "qvm-app" "package">)
(#<ASDF/LISP-ACTION:PREPARE-OP >
. #<ASDF/LISP-ACTION:CL-SOURCE-FILE "qvm-app" "package">)
(#<ASDF/LISP-ACTION:PREPARE-OP > . #<ASDF/SYSTEM:SYSTEM "qvm-app">)
(#<ASDF/LISP-ACTION:LOAD-OP > . #<ASDF/SYSTEM:SYSTEM "qvm-examples">)
(#<ASDF/LISP-ACTION:LOAD-OP >
. #<ASDF/LISP-ACTION:CL-SOURCE-FILE "qvm-examples" "package">)
(#<ASDF/LISP-ACTION:PREPARE-OP >
. #<ASDF/LISP-ACTION:CL-SOURCE-FILE "qvm-examples" "package">)
(#<ASDF/LISP-ACTION:PREPARE-OP > . #<ASDF/SYSTEM:SYSTEM "qvm-examples">))
The qvm-examples:qft-circuit
function is being used inside qvm-app
, hence the cyclic dependency. I could:
(a) Move (copy?) qft-circuit
to app/src/benchmark-programs.lisp
where it is used.
(b) Create a new ASDF package solely for the VQE example.
I think option (a) makes more sense but it might confuse users who expect that function to be in the examples
folder.
The
qvm-examples:qft-circuit
function is being used insideqvm-app
, hence the cyclic dependency. I could:(a) Move (copy?)
qft-circuit
toapp/src/benchmark-programs.lisp
where it is used. (b) Create a new ASDF package solely for the VQE example.I think option (a) makes more sense but it might confuse users who expect that function to be in the
examples
folder.
Maybe just duplicate qft-circuit
in both locations. It's not perfect, but I don't think it's a terrible thing to do.
Hartree-Fock.
On Fri, Sep 20, 2019, 11:34 Mark Skilbeck notifications@github.com wrote: