Support for passing carriers as a list in InstructionToSignals.
The Solver.signals property, and the Solver init kwargs hamiltonian_signals and lindblad_signals.
Associated with this, the Solver.solve method has been updated to always reset the Solver.model signals to None.
The Solver.copy method has been removed.
Tests that checked for the deprecation warnings have been removed. I've added a test that verifies that the Solver.model.signals property is always returned to None (or (None, None) for a Lindblad model) after calling Solver.solve.
Summary
Closes #123
Details and comments
As per the deprecation notes of 0.3.0, this PR removes:
carriers
as a list inInstructionToSignals
.Solver.signals
property, and theSolver
init kwargshamiltonian_signals
andlindblad_signals
.Solver.solve
method has been updated to always reset theSolver.model
signals toNone
.Solver.copy
method has been removed.Tests that checked for the deprecation warnings have been removed. I've added a test that verifies that the
Solver.model.signals
property is always returned toNone
(or(None, None)
for a Lindblad model) after callingSolver.solve
.