LogicalQ.Estimators =================== .. py:module:: LogicalQ.Estimators Functions --------- .. autoapisummary:: LogicalQ.Estimators.compute_constraint_model LogicalQ.Estimators.compute_effective_threshold LogicalQ.Estimators.compute_gadget_costs LogicalQ.Estimators.build_gadgets_library Module Contents --------------- .. py:function:: compute_constraint_model(hardware_model, label, stabilizer_tableau, optimizer = True, effective_threshold = None, gadget_costs = None, constraint_model = None) Compute constraint model for a given quantum error correction code. .. py:function:: compute_effective_threshold(hardware_model, label, stabilizer_tableau, initial_states = None, min_theta = 0, max_theta = np.pi / 2, n_theta = 16, min_phi = 0, max_phi = np.pi, n_phi = 32, max_n_qec_cycles = 1, shots = 10000.0, threshold_conditions = None) Compute effective threshold for a given quantum error correction code. .. py:function:: compute_gadget_costs(gadgets_library = None, backend = None, hardware_model = None) Compute the costs of a gadgets library based on a hardware model or a backend. .. py:function:: build_gadgets_library(min_depth, max_depth, step_depth, min_n_qubits, max_n_qubits, step_n_qubits) Build a library of gadgets within the specified depth and qubit count parameters.