Fixes a bug where using pipeline.optimize was not actually calling the tell() of the optimizer. Added a test to ensure this does not get removed.
@LennartPurucker tagged for review, no need to if you don't have time as I unfortunately need to merge this now. I've confirmed it works with the tests but also in the other setting via good ol' print debugging. Changes are annotated to expedite the process.
Fixes a bug where using
pipeline.optimize
was not actually calling thetell()
of the optimizer. Added a test to ensure this does not get removed.@LennartPurucker tagged for review, no need to if you don't have time as I unfortunately need to merge this now. I've confirmed it works with the tests but also in the other setting via good ol' print debugging. Changes are annotated to expedite the process.