Skip to content

Commit

Permalink
passes eyeball test (in the sense that the refactoring didn`t change …
Browse files Browse the repository at this point in the history
…the output for synspam character RB
  • Loading branch information
rileyjmurray committed Oct 9, 2024
1 parent 59e20c0 commit 738e586
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygsti/adhoc/su2rbsims.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ def __init__(self, su2rep, N, lengths, statepreps, povm, seed):
SU2RBDesign.__init__(self, su2rep, N, lengths, statepreps, povm, seed, __character__=True)
self.angles2irrepchars = su2rep.angles2irrepchars
self.unitaries_from_angles = su2rep.unitaries_from_angles
self.num_irreps = su2rep.irrep_labels.size
self.irrep_sizes = su2rep.irrep_block_sizes
self.num_irreps = self.irrep_sizes.size
self.chars = np.zeros(shape=(self.lengths.size, self.N, self.num_irreps))
# chars[j,k,ell] = the ell-th irrep's character for the unitary induced by the (noiseless version of the) k-th circuit of length lengths[j]
self._compute_chars()
Expand Down

0 comments on commit 738e586

Please sign in to comment.