Skip to content

Commit cb46e8b

Browse files
committed
Bring back f4af63c
This was erased during merges
1 parent 7179749 commit cb46e8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

inflation/sdp/InflationSDP.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)