Skip to content

Commit 35ec29f

Browse files
author
Leonardo Ranzani
committed
Fixed parameter in leakage RB
1 parent c847953 commit 35ec29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

QGL/BasicSequences/RB.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def TwoQubitLeakageRB(q1: Channels.LogicalChannel,
339339
seqs: List[List[int]],
340340
pi2args: Mapping[int, str],
341341
cliff_type: str = 'std',
342-
showPlot: bool = False,swap: bool = False) -> str:
342+
showPlot: bool = False,entangling_seq = None) -> str:
343343
"""
344344
Two qubit randomized benchmarking using 90 and 180 single qubit generators
345345
and ZX90 to measure leakage outside the qubit subspace. See https://
@@ -381,7 +381,7 @@ def TwoQubitLeakageRB(q1: Channels.LogicalChannel,
381381
seqsBis = []
382382
for seq in seqs:
383383
combined_seq = reduce(operator.add,
384-
[TwoQubitClifford(q2, q1, c, kind=cliff_type,swap)
384+
[TwoQubitClifford(q2, q1, c, kind=cliff_type,entangling_sequence = entangling_seq)
385385
for c in seq])
386386

387387
# Append sequence with tomography ids and measurement

0 commit comments

Comments
 (0)