Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/q/u/QuaEC-1.0.1/src/qecc/stab.py   QuaEC(Download)
        :yields: A representative for each element of :math:`\text{N}(S) / S`.
        """
        return p.from_generators(self.logical_xs + self.logical_zs, incl_identity=incl_identity)
 
    def normalizer_group(self, mod_s=False):

src/q/u/QuaEC-1.0.1/src/qecc/paulicollections.py   QuaEC(Download)
        operators. See also :obj:`qecc.from_generators`.
        """
        return pc.from_generators(self, coset_rep)
 
    def stabilizer_subspace(self):

src/q/u/QuaEC-1.0.1/src/qecc/pred.py   QuaEC(Download)
    paulis = map(pc.ensure_pauli, paulis)
 
    return PauliMembershipPredicate(pc.from_generators(paulis), ignore_phase=True)
 
## TEST ##

src/q/u/QuaEC-1.0.1/src/qecc/constraint_solvers.py   QuaEC(Download)
        ))
    assert len(search_in_gens) > 0
    return ifilter(anticommutation_predicate, pc.from_generators(search_in_gens))