Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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