File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,8 @@ def generate_relaxation(self,
252252 column_specification :
253253 Union [str ,
254254 List [List [int ]],
255- List [sp .core .symbol .Symbol ]] = "npa1"
255+ List [sp .core .symbol .Symbol ]] = "npa1" ,
256+ ** kwargs
256257 ) -> None :
257258 r"""Creates the SDP relaxation of the quantum inflation problem using
258259 the `NPA hierarchy <https://www.arxiv.org/abs/quant-ph/0607119>`_ and
@@ -335,7 +336,7 @@ def generate_relaxation(self,
335336 self .Constant_Term .name = self .constant_term_name
336337 self .monomial_from_name [self .constant_term_name ] = self .Constant_Term
337338
338- self .build_columns (column_specification )
339+ self .build_columns (column_specification , ** kwargs )
339340 collect ()
340341 if self .verbose > 0 :
341342 eprint ("Number of columns in the moment matrix:" , self .n_columns )
You can’t perform that action at this time.
0 commit comments