You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New: The function generate_operators returns a list of operators from the sympy.physics.quantum submodule. This is the old behaviour of generate_variables.
New: The SdpRelaxation class is now subscriptable. You can retrieve the value of polynomials in the solved relaxation in such way. Internally, it calls get_xmat_value with self.
New: The convenience method solve() was added to the class SdpRelaxation.
New: The convenience method write_to_file() was added to the class SdpRelaxation.
New: The convenience method save_monomial_index() was added to the class SdpRelaxation.
New: The convenience method find_solution_ranks() was added to the class SdpRelaxation. It replaces the previous stand-alone find_rank_loop() function.
New: The conversion routines convert_to_picos and convert_to_mosek are also part of the class sdpRelaxation.
New: The new method extract_dual_value() was added to the class SdpRelaxation to calculate the inner product of the coefficient matrix of an SDP variable with the dual solution.
New: The class RdmHierarchy was added to generate SDPs of the reduced density matrix method. Initial support for 1D spinless, translational invariant systems is included.
New: Better support for the steering hierarchy in a new class SteeringHierarchy.
Changed: The function generate_variables are now returns a list of sympy.Symbol variables if commutative variables are requested, and the default is commutative.
Changed: Many unnecessary user-facing functions were removed.
Changed: The SOS decomposition is now requested with get_sos_decomposition from the class SdpRelaxation, and it returns a list of the sigma_i polynomials.
Changed: The optional parameter bounds for get_relaxation is deprececated, use the optional parameters momentinequalities and momentequalities instead.
Changed: Removed convert_to_picos_extra_moment_matrix and added optional parameter duplicate_moment_matrix to convert_to_picos to achieve the same effect.
Changed: The chordal extension is now requested as an optional parameter chordal_extension=True passed to the get_relaxation method, and not by specifying it as a hierarchy type in the constructor.
Changed: The Moroder hierarchy is now a class.
Changed: Small improvements in speed in the substitution routines; unit tests for the substitution routines.
Changed: The read_sdpa_out routine takes an optional argument for a relaxation, and adds the solution to this object if requested.
Changed: Instead of an examples folder, all examples were migrated to the documentation.
Changed: The symbolic variables which are not to be relaxed are now supplied to the constructor with the optional parameter parameters.
Changed: Redundant positive-semidefinite constraint type removed.
Fixed: PICOS and MOSEK conversion works for complex matrices too (issue #10).
Fixed: The moment symmetries are correctly calculated for both Hermitian and non-Hermitian variables (issue #9)