How to use the pygsti.construction.build_standard_localnoise_model function in pyGSTi

To help you get started, we’ve selected a few pyGSTi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github QuTech-Delft / qtt / src / qtt / algorithms / randomized_benchmarking.py View on Github external
def simulate_circuits_probabilities(self, circuits_dict: dict) -> dict:
        model = pygsti.construction.build_standard_localnoise_model(nQubits=len(self._chip_spec.qubit_labels),
                                                                    gate_names=self._chip_spec.root_gate_names,
                                                                    qubit_labels=self._chip_spec.qubit_labels)
        sim_out = {m: [c.simulate(model) for c in cs] for (m, cs) in circuits_dict.items()}
        return sim_out