GTorlai / PastaQ.jl

Package for Simulation, Tomography and Analysis of Quantum Computers
Apache License 2.0
145 stars 23 forks source link

Change `resetoptimizer!` to `Base.empty!` #118

Closed mtfishman closed 4 years ago

mtfishman commented 4 years ago

resetoptimizer! could just be defined by overloading Base.empty!, since it is implementing the same concept of emptying a container.

mtfishman commented 4 years ago

resetoptimizer! is removed in #123, and there isn't a need for empty!.