Coverage report: 53%

Files Functions Classes

coverage.py v7.8.0, created at 2025-04-15 15:48 +0000

File function statements missing excluded coverage
qml_essentials/__init__.py (no function) 0 0 0 100%
qml_essentials/ansaetze.py Circuit.__init__ 1 0 0 100%
qml_essentials/ansaetze.py Circuit.n_params_per_layer 1 1 0 0%
qml_essentials/ansaetze.py Circuit.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Circuit.get_control_angles 4 4 0 0%
qml_essentials/ansaetze.py Circuit.build 1 1 0 0%
qml_essentials/ansaetze.py Circuit.__call__ 1 0 0 100%
qml_essentials/ansaetze.py Gates.init_rng 1 0 0 100%
qml_essentials/ansaetze.py Gates.Noise 7 6 0 14%
qml_essentials/ansaetze.py Gates.GateError 3 1 0 67%
qml_essentials/ansaetze.py Gates.Rot 6 3 0 50%
qml_essentials/ansaetze.py Gates.RX 2 0 0 100%
qml_essentials/ansaetze.py Gates.RY 3 0 0 100%
qml_essentials/ansaetze.py Gates.RZ 2 0 0 100%
qml_essentials/ansaetze.py Gates.CRX 3 0 0 100%
qml_essentials/ansaetze.py Gates.CRY 3 3 0 0%
qml_essentials/ansaetze.py Gates.CRZ 3 0 0 100%
qml_essentials/ansaetze.py Gates.CX 2 0 0 100%
qml_essentials/ansaetze.py Gates.CY 2 2 0 0%
qml_essentials/ansaetze.py Gates.CZ 2 2 0 0%
qml_essentials/ansaetze.py Gates.H 2 0 0 100%
qml_essentials/ansaetze.py Ansaetze.get_available 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.No_Ansatz.n_params_per_layer 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.No_Ansatz.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.No_Ansatz.build 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.GHZ.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.GHZ.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.GHZ.build 3 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Hardware_Efficient.n_params_per_layer 3 1 0 67%
qml_essentials/ansaetze.py Ansaetze.Hardware_Efficient.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Hardware_Efficient.build 15 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_19.n_params_per_layer 4 2 0 50%
qml_essentials/ansaetze.py Ansaetze.Circuit_19.get_control_indices 3 3 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_19.build 10 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_18.n_params_per_layer 4 2 0 50%
qml_essentials/ansaetze.py Ansaetze.Circuit_18.get_control_indices 3 3 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_18.build 10 10 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_15.n_params_per_layer 4 2 0 50%
qml_essentials/ansaetze.py Ansaetze.Circuit_15.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_15.build 13 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_9.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_9.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_9.build 9 9 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_6.n_params_per_layer 4 2 0 50%
qml_essentials/ansaetze.py Ansaetze.Circuit_6.get_control_indices 3 3 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_6.build 18 18 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_1.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_1.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_1.build 6 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_2.n_params_per_layer 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_2.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_2.build 9 9 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_3.n_params_per_layer 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_3.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_3.build 10 10 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_4.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_4.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_4.build 10 10 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_10.n_params_per_layer 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_10.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_10.build 12 12 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_16.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_16.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_16.build 13 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_17.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.Circuit_17.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Circuit_17.build 13 13 0 0%
qml_essentials/ansaetze.py Ansaetze.Strongly_Entangling.n_params_per_layer 3 1 0 67%
qml_essentials/ansaetze.py Ansaetze.Strongly_Entangling.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.Strongly_Entangling.build 13 0 0 100%
qml_essentials/ansaetze.py Ansaetze.No_Entangling.n_params_per_layer 1 0 0 100%
qml_essentials/ansaetze.py Ansaetze.No_Entangling.get_control_indices 1 1 0 0%
qml_essentials/ansaetze.py Ansaetze.No_Entangling.build 4 0 0 100%
qml_essentials/ansaetze.py (no function) 168 0 0 100%
qml_essentials/coefficients.py Coefficients.get_spectrum 13 13 0 0%
qml_essentials/coefficients.py Coefficients._fourier_transform 9 9 0 0%
qml_essentials/coefficients.py Coefficients.get_psd 3 3 0 0%
qml_essentials/coefficients.py Coefficients.get_psd.abs2 1 1 0 0%
qml_essentials/coefficients.py Coefficients.evaluate_Fourier_series 11 11 0 0%
qml_essentials/coefficients.py FourierTree.CoefficientsTreeNode.__init__ 14 14 0 0%
qml_essentials/coefficients.py FourierTree.CoefficientsTreeNode.evaluate 15 15 0 0%
qml_essentials/coefficients.py FourierTree.CoefficientsTreeNode.get_leafs 17 17 0 0%
qml_essentials/coefficients.py FourierTree.__init__ 13 13 0 0%
qml_essentials/coefficients.py FourierTree.__call__ 16 16 0 0%
qml_essentials/coefficients.py FourierTree.build 6 6 0 0%
qml_essentials/coefficients.py FourierTree._get_tree_leafs 6 6 0 0%
qml_essentials/coefficients.py FourierTree.get_spectrum 13 13 0 0%
qml_essentials/coefficients.py FourierTree._freq_terms_to_coeffs 11 11 0 0%
qml_essentials/coefficients.py FourierTree._compute_leaf_factors 8 8 0 0%
qml_essentials/coefficients.py FourierTree._create_tree_node 15 15 0 0%
qml_essentials/coefficients.py FourierTree._create_new_observable 4 4 0 0%
qml_essentials/coefficients.py (no function) 38 0 0 100%
qml_essentials/entanglement.py Entanglement.meyer_wallach 18 3 0 83%
qml_essentials/entanglement.py Entanglement._compute_meyer_wallach_meas 6 0 0 100%
qml_essentials/entanglement.py Entanglement.bell_measurements 26 7 0 73%
qml_essentials/entanglement.py Entanglement.bell_measurements._circuit 7 0 0 100%
qml_essentials/entanglement.py Entanglement.relative_entropy 23 7 0 70%
qml_essentials/entanglement.py Entanglement._compute_rel_entropies 6 0 0 100%
qml_essentials/entanglement.py Entanglement.entanglement_of_formation 19 6 0 68%
qml_essentials/entanglement.py Entanglement._compute_entanglement_of_formation 10 7 0 30%
qml_essentials/entanglement.py sample_random_separable_states 6 0 0 100%
qml_essentials/entanglement.py (no function) 24 0 0 100%
qml_essentials/expressibility.py Expressibility._sample_state_fidelities 10 0 0 100%
qml_essentials/expressibility.py Expressibility.state_fidelities 16 1 0 94%
qml_essentials/expressibility.py Expressibility._haar_probability 3 0 0 100%
qml_essentials/expressibility.py Expressibility._sample_haar_integral 6 0 0 100%
qml_essentials/expressibility.py Expressibility.haar_integral 16 0 0 100%
qml_essentials/expressibility.py Expressibility.kullback_leibler_divergence 7 1 0 86%
qml_essentials/expressibility.py (no function) 20 0 0 100%
qml_essentials/model.py Model.__init__ 57 16 0 72%
qml_essentials/model.py Model.as_pauli_circuit 1 1 0 0%
qml_essentials/model.py Model.as_pauli_circuit 9 2 0 78%
qml_essentials/model.py Model.noise_params 1 0 0 100%
qml_essentials/model.py Model.noise_params 27 24 0 11%
qml_essentials/model.py Model.execution_type 1 0 0 100%
qml_essentials/model.py Model.execution_type 9 4 0 56%
qml_essentials/model.py Model.shots 1 0 0 100%
qml_essentials/model.py Model.shots 3 1 0 67%
qml_essentials/model.py Model.initialize_params 18 11 0 39%
qml_essentials/model.py Model.initialize_params.set_control_params 5 5 0 0%
qml_essentials/model.py Model._iec 10 8 0 20%
qml_essentials/model.py Model._circuit 2 0 0 100%
qml_essentials/model.py Model._variational 14 2 0 86%
qml_essentials/model.py Model._observable 20 14 0 30%
qml_essentials/model.py Model._apply_state_prep_noise 4 4 0 0%
qml_essentials/model.py Model._apply_general_noise 18 18 0 0%
qml_essentials/model.py Model.draw 10 10 0 0%
qml_essentials/model.py Model.__repr__ 1 1 0 0%
qml_essentials/model.py Model.__str__ 1 1 0 0%
qml_essentials/model.py Model._params_validation 6 1 0 83%
qml_essentials/model.py Model._inputs_validation 17 8 0 53%
qml_essentials/model.py Model._parallel_f 8 8 0 0%
qml_essentials/model.py Model._mp_executor 14 0 0 100%
qml_essentials/model.py Model._assimilate_batch 5 2 0 60%
qml_essentials/model.py Model.__call__ 1 0 0 100%
qml_essentials/model.py Model._forward 39 17 0 56%
qml_essentials/model.py Model.get_specs 4 4 0 0%
qml_essentials/model.py Model.get_circuit_depth 1 1 0 0%
qml_essentials/model.py (no function) 52 0 0 100%
qml_essentials/utils.py MultiprocessingPool.DillProcess.__init__ 2 0 0 100%
qml_essentials/utils.py MultiprocessingPool.DillProcess.run 3 3 0 0%
qml_essentials/utils.py MultiprocessingPool.__init__ 4 0 0 100%
qml_essentials/utils.py MultiprocessingPool.spawn 18 0 0 100%
qml_essentials/utils.py logm_v 8 2 0 75%
qml_essentials/utils.py PauliCircuit.from_parameterised_circuit 10 10 0 0%
qml_essentials/utils.py PauliCircuit.from_parameterised_circuit.postprocess 1 1 0 0%
qml_essentials/utils.py PauliCircuit.commute_all_cliffords_to_the_end 14 14 0 0%
qml_essentials/utils.py PauliCircuit.get_clifford_pauli_gates 12 12 0 0%
qml_essentials/utils.py PauliCircuit._is_skippable 1 1 0 0%
qml_essentials/utils.py PauliCircuit._is_clifford 1 1 0 0%
qml_essentials/utils.py PauliCircuit._is_pauli_rotation 1 1 0 0%
qml_essentials/utils.py PauliCircuit._evolve_clifford_rotation 14 14 0 0%
qml_essentials/utils.py PauliCircuit._remove_identities_from_paulistr 7 7 0 0%
qml_essentials/utils.py PauliCircuit._evolve_clifford_pauli 6 6 0 0%
qml_essentials/utils.py PauliCircuit._evolve_cliffords_list 7 7 0 0%
qml_essentials/utils.py PauliCircuit._get_paulistring_from_generator 10 10 0 0%
qml_essentials/utils.py PauliCircuit.cliffords_in_observable 5 5 0 0%
qml_essentials/utils.py QuanTikz.TikzFigure.__init__ 1 1 0 0%
qml_essentials/utils.py QuanTikz.TikzFigure.__repr__ 1 1 0 0%
qml_essentials/utils.py QuanTikz.TikzFigure.__str__ 1 1 0 0%
qml_essentials/utils.py QuanTikz.TikzFigure.wrap_figure 1 1 0 0%
qml_essentials/utils.py QuanTikz.TikzFigure.export 5 5 0 0%
qml_essentials/utils.py QuanTikz.ground_state 1 1 0 0%
qml_essentials/utils.py QuanTikz.measure 3 3 0 0%
qml_essentials/utils.py QuanTikz.search_pi_fraction 12 12 0 0%
qml_essentials/utils.py QuanTikz.gate 17 17 0 0%
qml_essentials/utils.py QuanTikz.cgate 20 20 0 0%
qml_essentials/utils.py QuanTikz.barrier 1 1 0 0%
qml_essentials/utils.py QuanTikz._build_tikz_circuit 31 31 0 0%
qml_essentials/utils.py QuanTikz.build 20 20 0 0%
qml_essentials/utils.py (no function) 74 0 0 100%
Total   1551 732 0 53%

No items found using the specified filter.