Skip to content

Commit 78fcc4c

Browse files
committed
Enable the max_monomial_length keyword in generate_relaxation
1 parent 7c48dd2 commit 78fcc4c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

inflation/sdp/InflationSDP.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ def generate_relaxation(self,
235235
column_specification:
236236
Union[str,
237237
List[List[int]],
238-
List[sp.core.symbol.Symbol]] = "npa1",
239-
**kwargs
238+
List[sp.core.symbol.Symbol]] = "npa1"
240239
) -> None:
241240
r"""Creates the SDP relaxation of the quantum inflation problem using
242241
the `NPA hierarchy <https://www.arxiv.org/abs/quant-ph/0607119>`_ and
@@ -319,7 +318,7 @@ def generate_relaxation(self,
319318
self.Constant_Term.name = self.constant_term_name
320319
self.monomial_from_name[self.constant_term_name] = self.Constant_Term
321320

322-
self.build_columns(column_specification, **kwargs)
321+
self.build_columns(column_specification)
323322
collect()
324323
if self.verbose > 0:
325324
print("Number of columns in the moment matrix:", self.n_columns)

0 commit comments

Comments
 (0)