id: 1 unit: void CreateGradientCircuit() file: tensorflow_quantum/core/src/adj_util.cc start line: 37 end line: 173 size: 118 LOC McCabe index: 37 number of parameters: 4 id: 2 unit: void Compute() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product_grad.cc start line: 51 end line: 202 size: 117 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/noise/tfq_noisy_sampled_expectation.cc start line: 256 end line: 391 size: 112 LOC McCabe index: 14 number of parameters: 7 id: 4 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/noise/tfq_noisy_expectation.cc start line: 252 end line: 385 size: 110 LOC McCabe index: 14 number of parameters: 7 id: 5 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_ps_symbol_replace_op.cc start line: 42 end line: 180 size: 109 LOC McCabe index: 11 number of parameters: 1 id: 6 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product_grad.cc start line: 312 end line: 448 size: 107 LOC McCabe index: 12 number of parameters: 11 id: 7 unit: Status ResolveQubitIds() file: tensorflow_quantum/core/src/program_resolution.cc start line: 182 end line: 303 size: 107 LOC McCabe index: 22 number of parameters: 3 id: 8 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 43 end line: 159 size: 105 LOC McCabe index: 25 number of parameters: 1 id: 9 unit: def tfi_rectangular() file: tensorflow_quantum/datasets/spin_system.py start line: 0 end line: 0 size: 100 LOC McCabe index: 26 number of parameters: 3 id: 10 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_ps_weights_from_symbols_op.cc start line: 43 end line: 163 size: 97 LOC McCabe index: 15 number of parameters: 1 id: 11 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc start line: 205 end line: 318 size: 92 LOC McCabe index: 11 number of parameters: 6 id: 12 unit: def xxz_chain() file: tensorflow_quantum/datasets/spin_system.py start line: 0 end line: 0 size: 85 LOC McCabe index: 22 number of parameters: 3 id: 13 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/noise/tfq_noisy_sampled_expectation.cc start line: 156 end line: 254 size: 83 LOC McCabe index: 14 number of parameters: 6 id: 14 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_calculate_unitary_op.cc start line: 47 end line: 157 size: 82 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: void Compute() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product.cc start line: 50 end line: 153 size: 81 LOC McCabe index: 7 number of parameters: 1 id: 16 unit: def generate_differentiable_op() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 81 LOC McCabe index: 11 number of parameters: 4 id: 17 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/noise/tfq_noisy_expectation.cc start line: 155 end line: 250 size: 80 LOC McCabe index: 14 number of parameters: 6 id: 18 unit: def _get_cirq_samples() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 80 LOC McCabe index: 16 number of parameters: 1 id: 19 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_adj_grad_op.cc start line: 51 end line: 160 size: 80 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: Status ResolveQubitIds() file: tensorflow_quantum/core/src/program_resolution.cc start line: 85 end line: 180 size: 80 LOC McCabe index: 20 number of parameters: 4 id: 21 unit: def minimize() file: tensorflow_quantum/python/optimizers/spsa_minimizer.py start line: 0 end line: 0 size: 80 LOC McCabe index: 7 number of parameters: 12 id: 22 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_sampled_expectation.cc start line: 157 end line: 257 size: 79 LOC McCabe index: 8 number of parameters: 7 id: 23 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/tfq_adj_grad_op.cc start line: 163 end line: 273 size: 78 LOC McCabe index: 11 number of parameters: 11 id: 24 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/tfq_simulate_sampled_expectation_op.cc start line: 209 end line: 300 size: 75 LOC McCabe index: 8 number of parameters: 7 id: 25 unit: def tfi_chain() file: tensorflow_quantum/datasets/spin_system.py start line: 0 end line: 0 size: 74 LOC McCabe index: 22 number of parameters: 3 id: 26 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product_grad.cc start line: 205 end line: 310 size: 74 LOC McCabe index: 10 number of parameters: 10 id: 27 unit: def __init__() file: tensorflow_quantum/python/layers/high_level/controlled_pqc.py start line: 0 end line: 0 size: 74 LOC McCabe index: 25 number of parameters: 8 id: 28 unit: void Compute() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_sampled_expectation.cc start line: 61 end line: 153 size: 71 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/tfq_adj_grad_op.cc start line: 275 end line: 378 size: 71 LOC McCabe index: 11 number of parameters: 10 id: 30 unit: def minimize() file: tensorflow_quantum/python/optimizers/rotosolve_minimizer.py start line: 0 end line: 0 size: 68 LOC McCabe index: 5 number of parameters: 5 id: 31 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_simulate_sampled_expectation_op.cc start line: 54 end line: 141 size: 67 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: void Compute() file: tensorflow_quantum/core/ops/noise/tfq_noisy_expectation.cc start line: 61 end line: 152 size: 65 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: void Compute() file: tensorflow_quantum/core/ops/noise/tfq_noisy_sampled_expectation.cc start line: 62 end line: 153 size: 65 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: def __init__() file: tensorflow_quantum/python/layers/high_level/noisy_controlled_pqc.py start line: 0 end line: 0 size: 63 LOC McCabe index: 18 number of parameters: 8 id: 35 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product.cc start line: 212 end line: 286 size: 60 LOC McCabe index: 7 number of parameters: 7 id: 36 unit: void Compute() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_samples.cc start line: 60 end line: 139 size: 59 LOC McCabe index: 5 number of parameters: 1 id: 37 unit: void Compute() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_expectation.cc start line: 59 end line: 140 size: 58 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/tfq_simulate_expectation_op.cc start line: 177 end line: 245 size: 56 LOC McCabe index: 6 number of parameters: 6 id: 39 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_expectation.cc start line: 145 end line: 217 size: 56 LOC McCabe index: 6 number of parameters: 6 id: 40 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc start line: 134 end line: 203 size: 55 LOC McCabe index: 6 number of parameters: 6 id: 41 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_simulate_samples_op.cc start line: 53 end line: 129 size: 55 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: inline Status PhasedXGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 394 end line: 451 size: 55 LOC McCabe index: 10 number of parameters: 6 id: 43 unit: tensorflow::Status ComputeMPSSampledExpectationQsim() file: tensorflow_quantum/core/src/util_qsim.h start line: 283 end line: 355 size: 55 LOC McCabe index: 10 number of parameters: 10 id: 44 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_simulate_expectation_op.cc start line: 50 end line: 122 size: 54 LOC McCabe index: 5 number of parameters: 1 id: 45 unit: def _get_cirq_sampled_expectation() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 54 LOC McCabe index: 11 number of parameters: 1 id: 46 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_samples.cc start line: 144 end line: 211 size: 54 LOC McCabe index: 7 number of parameters: 6 id: 47 unit: def call() file: tensorflow_quantum/python/layers/circuit_executors/expectation.py start line: 0 end line: 0 size: 54 LOC McCabe index: 14 number of parameters: 9 id: 48 unit: void Compute() file: tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc start line: 59 end line: 131 size: 53 LOC McCabe index: 7 number of parameters: 1 id: 49 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/tfq_simulate_samples_op.cc start line: 191 end line: 251 size: 53 LOC McCabe index: 7 number of parameters: 6 id: 50 unit: inline Status PhasedISwapGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 511 end line: 566 size: 53 LOC McCabe index: 9 number of parameters: 6 id: 51 unit: inline Status FsimGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 454 end line: 508 size: 52 LOC McCabe index: 9 number of parameters: 6 id: 52 unit: tensorflow::Status ComputeSampledExpectationQsim() file: tensorflow_quantum/core/src/util_qsim.h start line: 200 end line: 270 size: 52 LOC McCabe index: 11 number of parameters: 8 id: 53 unit: def exponential() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 51 LOC McCabe index: 23 number of parameters: 2 id: 54 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_simulate_state_op.cc start line: 48 end line: 117 size: 50 LOC McCabe index: 5 number of parameters: 1 id: 55 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/tfq_simulate_sampled_expectation_op.cc start line: 144 end line: 207 size: 50 LOC McCabe index: 8 number of parameters: 6 id: 56 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/tfq_simulate_samples_op.cc start line: 132 end line: 189 size: 47 LOC McCabe index: 7 number of parameters: 6 id: 57 unit: def serialize_circuit() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 46 LOC McCabe index: 19 number of parameters: 1 id: 58 unit: def expand_circuits() file: tensorflow_quantum/python/layers/circuit_executors/input_checks.py start line: 0 end line: 0 size: 46 LOC McCabe index: 19 number of parameters: 4 id: 59 unit: def gate_approx_eq() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 46 LOC McCabe index: 23 number of parameters: 3 id: 60 unit: def get_gradient_circuits() file: tensorflow_quantum/python/differentiators/linear_combination.py start line: 0 end line: 0 size: 46 LOC McCabe index: 10 number of parameters: 4 id: 61 unit: inline Status TwoEigenGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 252 end line: 300 size: 45 LOC McCabe index: 7 number of parameters: 7 id: 62 unit: def _arg_to_proto() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 44 LOC McCabe index: 18 number of parameters: 4 id: 63 unit: tensorflow::Status NoisyQsimCircuitFromProgram() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 785 end line: 838 size: 44 LOC McCabe index: 9 number of parameters: 5 id: 64 unit: Status GetProgramsAndNumQubits() file: tensorflow_quantum/core/ops/parse_context.cc start line: 150 end line: 201 size: 43 LOC McCabe index: 7 number of parameters: 5 id: 65 unit: Status GetSymbolMaps() file: tensorflow_quantum/core/ops/parse_context.cc start line: 284 end line: 337 size: 43 LOC McCabe index: 8 number of parameters: 2 id: 66 unit: inline Status SingleEigenGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 203 end line: 249 size: 43 LOC McCabe index: 7 number of parameters: 7 id: 67 unit: Status CheckMPSSupported() file: tensorflow_quantum/core/src/program_resolution.cc start line: 331 end line: 384 size: 43 LOC McCabe index: 11 number of parameters: 1 id: 68 unit: def _get_cirq_analytical_expectation() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 42 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: def call() file: tensorflow_quantum/python/layers/circuit_executors/sampled_expectation.py start line: 0 end line: 0 size: 42 LOC McCabe index: 9 number of parameters: 9 id: 70 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product.cc start line: 156 end line: 210 size: 41 LOC McCabe index: 7 number of parameters: 6 id: 71 unit: Status QsimZBasisCircuitFromPauliTerm() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 909 end line: 957 size: 41 LOC McCabe index: 4 number of parameters: 4 id: 72 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/tfq_simulate_state_op.cc start line: 120 end line: 172 size: 40 LOC McCabe index: 7 number of parameters: 6 id: 73 unit: def _phased_eigen_gate_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 74 unit: inline Status ParseProtoControls() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 83 end line: 128 size: 40 LOC McCabe index: 8 number of parameters: 4 id: 75 unit: def batch_calculate_sampled_expectation() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 39 LOC McCabe index: 17 number of parameters: 5 id: 76 unit: def _benchmark_tfq_differentiator() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 39 LOC McCabe index: 5 number of parameters: 3 id: 77 unit: void ComputeLarge() file: tensorflow_quantum/core/ops/tfq_simulate_expectation_op.cc start line: 125 end line: 175 size: 38 LOC McCabe index: 6 number of parameters: 5 id: 78 unit: static void BalanceTrajectory() file: tensorflow_quantum/core/src/util_qsim.h start line: 450 end line: 492 size: 38 LOC McCabe index: 10 number of parameters: 3 id: 79 unit: void ComputeSmall() file: tensorflow_quantum/core/ops/tfq_simulate_state_op.cc start line: 174 end line: 215 size: 37 LOC McCabe index: 6 number of parameters: 6 id: 80 unit: Operation getOpForFSIM() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 272 end line: 314 size: 37 LOC McCabe index: 7 number of parameters: 4 id: 81 unit: tensorflow::Status ComputeExpectationQsim() file: tensorflow_quantum/core/src/util_qsim.h start line: 143 end line: 188 size: 37 LOC McCabe index: 8 number of parameters: 7 id: 82 unit: tensorflow::Status AccumulateOperators() file: tensorflow_quantum/core/src/util_qsim.h start line: 363 end line: 414 size: 37 LOC McCabe index: 7 number of parameters: 7 id: 83 unit: def _phased_eigen_gate_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 36 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: def random_symbol_circuit() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 36 LOC McCabe index: 10 number of parameters: 7 id: 85 unit: def __init__() file: tensorflow_quantum/python/differentiators/linear_combination.py start line: 0 end line: 0 size: 36 LOC McCabe index: 10 number of parameters: 3 id: 86 unit: def main() file: scripts/build_docs.py start line: 0 end line: 0 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: Operation getOpForPXP() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 189 end line: 229 size: 35 LOC McCabe index: 6 number of parameters: 4 id: 88 unit: Operation getOpForPISP() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 231 end line: 270 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 89 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_resolve_parameters_op.cc start line: 40 end line: 79 size: 35 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: def benchmark_clifford_circuit_eager() file: benchmarks/scripts/benchmark_clifford_circuit.py start line: 0 end line: 0 size: 35 LOC McCabe index: 4 number of parameters: 1 id: 91 unit: def batch_calculate_expectation() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 34 LOC McCabe index: 12 number of parameters: 4 id: 92 unit: tensorflow::Status GetProgramsAndNumQubits() file: tensorflow_quantum/core/ops/parse_context.cc start line: 203 end line: 245 size: 33 LOC McCabe index: 5 number of parameters: 4 id: 93 unit: def _validate_inputs() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 33 LOC McCabe index: 14 number of parameters: 4 id: 94 unit: def call() file: tensorflow_quantum/python/layers/circuit_construction/elementary.py start line: 0 end line: 0 size: 33 LOC McCabe index: 15 number of parameters: 5 id: 95 unit: def random_clifford_circuit() file: benchmarks/scripts/models/random_clifford_circuit.py start line: 0 end line: 0 size: 33 LOC McCabe index: 13 number of parameters: 4 id: 96 unit: void Compute() file: tensorflow_quantum/core/ops/tfq_circuit_append_op.cc start line: 37 end line: 73 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: def _fsim_gate_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: def random_circuit_resolver_batch() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 32 LOC McCabe index: 10 number of parameters: 6 id: 99 unit: def benchmark_random_circuit() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: tensorflow::Status ParseAppendGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 568 end line: 600 size: 31 LOC McCabe index: 2 number of parameters: 7 id: 101 unit: static void BalanceTrajectory() file: tensorflow_quantum/core/src/util_qsim.h start line: 496 end line: 531 size: 31 LOC McCabe index: 8 number of parameters: 3 id: 102 unit: Status RegisterQubits() file: tensorflow_quantum/core/src/program_resolution.cc start line: 48 end line: 83 size: 31 LOC McCabe index: 7 number of parameters: 3 id: 103 unit: def _get_cirq_simulate_state() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: Status GetPauliSums() file: tensorflow_quantum/core/ops/parse_context.cc start line: 247 end line: 282 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 105 unit: tensorflow::Status GetNumSamples() file: tensorflow_quantum/core/ops/parse_context.cc start line: 339 end line: 371 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 106 unit: Status QsimCircuitFromPauliTerm() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 875 end line: 907 size: 30 LOC McCabe index: 2 number of parameters: 4 id: 107 unit: Status ParsePrograms2D() file: tensorflow_quantum/core/ops/parse_context.cc start line: 92 end line: 127 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 108 unit: tensorflow::Status QsimCircuitFromProgram() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 840 end line: 873 size: 29 LOC McCabe index: 6 number of parameters: 6 id: 109 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_executors/expectation.py start line: 0 end line: 0 size: 29 LOC McCabe index: 8 number of parameters: 4 id: 110 unit: def _channel_approx_eq() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 29 LOC McCabe index: 20 number of parameters: 3 id: 111 unit: def get_gradient_circuits() file: tensorflow_quantum/python/differentiators/parameter_shift.py start line: 0 end line: 0 size: 29 LOC McCabe index: 1 number of parameters: 4 id: 112 unit: def get_sampled_expectation_op() file: tensorflow_quantum/core/ops/circuit_execution_ops.py start line: 0 end line: 0 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 113 unit: def _eigen_gate_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: def _eigen_gate_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 28 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: def parse_programs() file: tensorflow_quantum/python/differentiators/parameter_shift_util.py start line: 0 end line: 0 size: 27 LOC McCabe index: 1 number of parameters: 5 id: 116 unit: tensorflow::Status GetPrevGrads() file: tensorflow_quantum/core/ops/parse_context.cc start line: 401 end line: 429 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 117 unit: std::vector RunReduceP() file: tensorflow_quantum/core/src/util_qsim.h start line: 80 end line: 116 size: 26 LOC McCabe index: 5 number of parameters: 4 id: 118 unit: def get_expectation_op() file: tensorflow_quantum/core/ops/circuit_execution_ops.py start line: 0 end line: 0 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 119 unit: Status ParsePrograms() file: tensorflow_quantum/core/ops/parse_context.cc start line: 59 end line: 90 size: 25 LOC McCabe index: 4 number of parameters: 3 id: 120 unit: def _identity_gate_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 121 unit: inline Status ParseProtoArg() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 52 end line: 81 size: 25 LOC McCabe index: 5 number of parameters: 5 id: 122 unit: def expand_operators() file: tensorflow_quantum/python/layers/circuit_executors/input_checks.py start line: 0 end line: 0 size: 25 LOC McCabe index: 9 number of parameters: 3 id: 123 unit: def setup() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 124 unit: def _fsim_gate_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: Status ResolveSymbols() file: tensorflow_quantum/core/src/program_resolution.cc start line: 305 end line: 329 size: 24 LOC McCabe index: 7 number of parameters: 3 id: 126 unit: def convert_to_tensor() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 24 LOC McCabe index: 7 number of parameters: 2 id: 127 unit: def _asymmetric_depolarize_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: def _symbols_in_op() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 129 unit: def differentiate_sampled() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 8 id: 130 unit: def excited_cluster_states() file: tensorflow_quantum/datasets/cluster_state.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 131 unit: def batch_calculate_state() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 132 unit: def batch_sample() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 4 id: 133 unit: def _symbol_extractor() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 22 LOC McCabe index: 9 number of parameters: 1 id: 134 unit: def serialize_paulisum() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 135 unit: def serialize_projectorsum() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 136 unit: inline Status TwoConstantGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 177 end line: 200 size: 22 LOC McCabe index: 3 number of parameters: 7 id: 137 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_executors/sampled_expectation.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 4 id: 138 unit: def random_symbol_circuit_resolver_batch() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 22 LOC McCabe index: 3 number of parameters: 8 id: 139 unit: def get_sampling_op() file: tensorflow_quantum/core/ops/circuit_execution_ops.py start line: 0 end line: 0 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 140 unit: def get_state_op() file: tensorflow_quantum/core/ops/circuit_execution_ops.py start line: 0 end line: 0 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 141 unit: Status GetIndividualSample() file: tensorflow_quantum/core/ops/parse_context.cc start line: 374 end line: 398 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 142 unit: def _value_from_gate() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 21 LOC McCabe index: 9 number of parameters: 3 id: 143 unit: def differentiate_analytic() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 21 LOC McCabe index: 1 number of parameters: 7 id: 144 unit: def testBenchmarkCliffordCircuitEager() file: benchmarks/scripts/benchmark_clifford_circuit.py start line: 0 end line: 0 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: def __init__() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 6 id: 146 unit: def _args_from_proto() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 20 LOC McCabe index: 8 number of parameters: 4 id: 147 unit: def _scalar_extractor() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 148 unit: def _gad_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: inline Status SingleConstantGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 153 end line: 174 size: 20 LOC McCabe index: 3 number of parameters: 7 id: 150 unit: inline Status AsymmetricDepolarizingChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 602 end line: 622 size: 20 LOC McCabe index: 2 number of parameters: 4 id: 151 unit: inline Status GADChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 644 end line: 665 size: 20 LOC McCabe index: 3 number of parameters: 4 id: 152 unit: def get_supported_gates() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 153 unit: Operation getOpForISP() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 164 end line: 187 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 154 unit: tensorflow::Status ParseAppendChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 761 end line: 781 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 155 unit: def call() file: tensorflow_quantum/python/layers/high_level/pqc.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 156 unit: def __init__() file: tensorflow_quantum/python/differentiators/linear_combination.py start line: 0 end line: 0 size: 19 LOC McCabe index: 8 number of parameters: 3 id: 157 unit: def testBenchmarkRandomCircuit() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 158 unit: def testBenchmarkGradient() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 159 unit: inline Status DepolarizingChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 624 end line: 642 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 160 unit: inline Status AmplitudeDampingChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 679 end line: 697 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 161 unit: inline Status PhaseDampingChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 699 end line: 718 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 162 unit: inline Status PhaseFlipChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 720 end line: 739 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 163 unit: tensorflow::Status AccumulateFusedCircuits() file: tensorflow_quantum/core/src/util_qsim.h start line: 423 end line: 442 size: 18 LOC McCabe index: 3 number of parameters: 6 id: 164 unit: def call() file: tensorflow_quantum/python/layers/circuit_executors/sample.py start line: 0 end line: 0 size: 18 LOC McCabe index: 6 number of parameters: 6 id: 165 unit: def call() file: tensorflow_quantum/python/layers/high_level/controlled_pqc.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 166 unit: def from_tensor() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 167 unit: def _get_initial_state() file: tensorflow_quantum/python/optimizers/spsa_minimizer.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 9 id: 168 unit: Status GetProgramsAndProgramsToAppend() file: tensorflow_quantum/core/ops/parse_context.cc start line: 129 end line: 148 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 169 unit: def _depolarize_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 170 unit: def _amplitude_damp_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: def _phase_damp_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: def _phase_flip_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: def _bit_flip_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: inline Status BitFlipChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 741 end line: 759 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 175 unit: def __init__() file: tensorflow_quantum/python/differentiators/linear_combination.py start line: 0 end line: 0 size: 17 LOC McCabe index: 7 number of parameters: 3 id: 176 unit: def serialize() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 5 id: 177 unit: void PopulateGradientPhasedXPhasedExponent() file: tensorflow_quantum/core/src/adj_util.cc start line: 205 end line: 220 size: 16 LOC McCabe index: 1 number of parameters: 9 id: 178 unit: void PopulateGradientPhasedXExponent() file: tensorflow_quantum/core/src/adj_util.cc start line: 222 end line: 237 size: 16 LOC McCabe index: 1 number of parameters: 9 id: 179 unit: void PopulateGradientPhasedISwapExponent() file: tensorflow_quantum/core/src/adj_util.cc start line: 287 end line: 302 size: 16 LOC McCabe index: 1 number of parameters: 9 id: 180 unit: inline Status OptionalInsertControls() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 130 end line: 145 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 181 unit: def _input_check_helper() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 182 unit: def _batch_deserialize_helper() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 183 unit: def _check_type() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 15 LOC McCabe index: 9 number of parameters: 3 id: 184 unit: def deserialize_paulisum() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 185 unit: def deserialize_projectorsum() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 186 unit: void PopulateGradientFsimTheta() file: tensorflow_quantum/core/src/adj_util.cc start line: 239 end line: 253 size: 15 LOC McCabe index: 1 number of parameters: 9 id: 187 unit: void PopulateGradientFsimPhi() file: tensorflow_quantum/core/src/adj_util.cc start line: 255 end line: 269 size: 15 LOC McCabe index: 1 number of parameters: 9 id: 188 unit: void PopulateGradientPhasedISwapPhasedExponent() file: tensorflow_quantum/core/src/adj_util.cc start line: 271 end line: 285 size: 15 LOC McCabe index: 1 number of parameters: 9 id: 189 unit: def random_pauli_sums() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 190 unit: def _download_spin_data() file: tensorflow_quantum/datasets/spin_system.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 191 unit: def next_job() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 192 unit: def _reset_channel_serializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: void PopulateGradientSingleEigen() file: tensorflow_quantum/core/src/adj_util.cc start line: 175 end line: 188 size: 14 LOC McCabe index: 1 number of parameters: 8 id: 194 unit: void PopulateGradientTwoEigen() file: tensorflow_quantum/core/src/adj_util.cc start line: 190 end line: 203 size: 14 LOC McCabe index: 1 number of parameters: 5 id: 195 unit: def catch_empty_inputs() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: def inner_product() file: tensorflow_quantum/core/ops/math_ops/inner_product_op.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 197 unit: def mps_1d_sampled_expectation() file: tensorflow_quantum/core/ops/math_ops/simulate_mps.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 6 id: 198 unit: def get_unitary_op() file: tensorflow_quantum/core/ops/tfq_unitary_op.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: def deserialize() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 3 id: 200 unit: def _asymmetric_depolarize_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: def _identity_gate_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: def _parse_single() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 203 unit: def _expression_approx_eq() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 8 number of parameters: 3 id: 204 unit: def _many_clifford_to_many_z() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 205 unit: def mps_1d_expectation() file: tensorflow_quantum/core/ops/math_ops/simulate_mps.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 206 unit: def mps_1d_sample() file: tensorflow_quantum/core/ops/math_ops/simulate_mps.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 207 unit: def fidelity() file: tensorflow_quantum/core/ops/math_ops/fidelity_op.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 208 unit: def estimated_energy() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 209 unit: def __init__() file: tensorflow_quantum/python/layers/high_level/noisy_pqc.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 9 id: 210 unit: def __init__() file: tensorflow_quantum/python/layers/high_level/pqc.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 9 id: 211 unit: def get_circuit_symbols() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 212 unit: def _get_initial_state() file: tensorflow_quantum/python/optimizers/rotosolve_minimizer.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 213 unit: def _function_languages_from_arg() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 214 unit: def __init__() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 215 unit: def qubit_from_proto() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 216 unit: def __init__() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 217 unit: def __init__() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 7 id: 218 unit: def _gad_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: def call() file: tensorflow_quantum/python/layers/high_level/noisy_pqc.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: def get_supported_channels() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 221 unit: def kwargs_cartesian_product() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 222 unit: def _upgrade_inputs() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 223 unit: Status ParseProto() file: tensorflow_quantum/core/ops/parse_context.cc start line: 42 end line: 55 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 224 unit: def __init__() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 6 id: 225 unit: inline Status ResetChannel() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 667 end line: 677 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 226 unit: void Run() file: tensorflow_quantum/core/src/util_qsim.h start line: 51 end line: 63 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 227 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_executors/sample.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 228 unit: def _parse_mul() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 229 unit: def _depolarize_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: def _amplitude_damp_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 231 unit: def _phase_damp_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: def _phase_flip_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: def _bit_flip_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: typename Op::result_type RunReduce() file: tensorflow_quantum/core/src/util_qsim.h start line: 119 end line: 130 size: 9 LOC McCabe index: 5 number of parameters: 4 id: 235 unit: def call() file: tensorflow_quantum/python/layers/high_level/noisy_controlled_pqc.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 236 unit: def load_module() file: tensorflow_quantum/core/ops/load_module.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: def collect() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 238 unit: def is_supported_operation() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 239 unit: def _serialize_circuit() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 5 id: 240 unit: def from_proto() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 4 id: 241 unit: def _optional_control_promote() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 3 id: 242 unit: def _process_pauli_type() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 243 unit: def _apply_random_control() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 244 unit: def check_commutability() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 245 unit: def _group_tuples() file: tensorflow_quantum/core/ops/cirq_ops.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 246 unit: def _fixed_circuit_plus_pauli_string_measurements() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 247 unit: def on() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 248 unit: def _inner_product_grad() file: tensorflow_quantum/core/ops/math_ops/inner_product_op.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 249 unit: def on_job_result() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 250 unit: def __init__() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 4 id: 251 unit: def with_added_gates() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 252 unit: def serialize_op() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 253 unit: def qubit_to_proto() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 254 unit: def to_proto() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: def deserialize_circuit() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 256 unit: Status IGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 302 end line: 307 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 257 unit: Status I2Gate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 309 end line: 314 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 258 unit: Status HGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 316 end line: 321 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 259 unit: Status XGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 323 end line: 328 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 260 unit: Status XXGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 330 end line: 335 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 261 unit: Status YGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 337 end line: 342 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 262 unit: Status YYGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 344 end line: 349 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 263 unit: Status ZGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 351 end line: 356 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 264 unit: Status ZZGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 358 end line: 363 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 265 unit: Status CZGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 365 end line: 370 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 266 unit: Status CXGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 372 end line: 377 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 267 unit: Status SwapGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 379 end line: 384 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 268 unit: Status ISwapGate() file: tensorflow_quantum/core/src/circuit_parser_qsim.cc start line: 386 end line: 391 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 269 unit: uint64_t GetIndex0() file: tensorflow_quantum/core/src/util_qsim.h start line: 65 end line: 70 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 270 unit: uint64_t GetIndex1() file: tensorflow_quantum/core/src/util_qsim.h start line: 72 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 271 unit: def _many_z_to_single_z() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 272 unit: def exp_identity() file: tensorflow_quantum/python/util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 273 unit: def generate_differentiable_op() file: tensorflow_quantum/python/differentiators/adjoint.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 274 unit: def differentiate_sampled() file: tensorflow_quantum/python/differentiators/adjoint.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 8 id: 275 unit: def _differentiate_ana() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 276 unit: def _differentiate_sam() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 8 id: 277 unit: def make_random_circuit() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 278 unit: def testRandomCircuitParams() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 279 unit: def unique_name() file: tensorflow_quantum/datasets/spin_system.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 280 unit: def sampled_expectation() file: tensorflow_quantum/core/ops/noise/noisy_sampled_expectation_op.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 281 unit: def padded_to_ragged() file: tensorflow_quantum/core/ops/tfq_utility_ops.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: explicit TfqSimulateMPS1DSampledExpectationOp() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_sampled_expectation.cc start line: 54 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: explicit TfqSimulateMPS1DExpectationOp() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_expectation.cc start line: 51 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: int GetBlockSize() file: tensorflow_quantum/core/ops/tfq_simulate_utils.cc start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: def tfq_simulate_sampled_expectation() file: tensorflow_quantum/core/ops/tfq_simulate_ops.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 286 unit: def _infer_function_language_from_circuit() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 287 unit: def deserialize_op() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: def _deserialize_circuit() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: def _arg_from_proto() file: tensorflow_quantum/core/serialize/op_deserializer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 290 unit: def _serialize_controls() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 291 unit: void Matrix2Diff() file: tensorflow_quantum/core/src/adj_util.h start line: 105 end line: 109 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 292 unit: void Matrix4Diff() file: tensorflow_quantum/core/src/adj_util.h start line: 113 end line: 117 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 293 unit: def _create_context_safe() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 294 unit: def prefer_static_value() file: tensorflow_quantum/python/optimizers/spsa_minimizer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: def prefer_static_value() file: tensorflow_quantum/python/optimizers/rotosolve_minimizer.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 296 unit: def tfq_adj_grad() file: tensorflow_quantum/core/ops/tfq_adj_grad_op.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 297 unit: def _check_quantum_concurrent() file: tensorflow_quantum/core/ops/circuit_execution_ops.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 298 unit: def samples() file: tensorflow_quantum/core/ops/noise/noisy_samples_op.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 299 unit: def expectation() file: tensorflow_quantum/core/ops/noise/noisy_expectation_op.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 300 unit: def padded_to_ragged2d() file: tensorflow_quantum/core/ops/tfq_utility_ops.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: explicit TfqSimulateMPS1DSamplesOp() file: tensorflow_quantum/core/ops/math_ops/tfq_simulate_1d_samples.cc start line: 54 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: def _serialize_control_vals() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 303 unit: def __init__() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 304 unit: def _reset_channel_deserializer() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 305 unit: inline absl::string_view IntMaxStr() file: tensorflow_quantum/core/src/program_resolution.cc start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: def call() file: tensorflow_quantum/python/layers/circuit_executors/unitary.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 307 unit: def call() file: tensorflow_quantum/python/layers/circuit_executors/state.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 308 unit: def q_context() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 309 unit: def get_gradient_circuits() file: tensorflow_quantum/python/differentiators/adjoint.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 310 unit: def differentiate_analytic() file: tensorflow_quantum/python/differentiators/adjoint.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 7 id: 311 unit: def refresh() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: def finalize_options() file: release/setup.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 313 unit: def _simulate_circuit() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 314 unit: def TEST_FLAGS() file: benchmarks/scripts/flags.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: def __init__() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 316 unit: def read_benchmark_entry() file: benchmarks/scripts/benchmark_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: def _simulate_circuit() file: benchmarks/scripts/benchmark_clifford_circuit.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 318 unit: explicit TfqNoisySampledExpectationOp() file: tensorflow_quantum/core/ops/noise/tfq_noisy_sampled_expectation.cc start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: def resolve_parameters() file: tensorflow_quantum/core/ops/tfq_utility_ops.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 320 unit: explicit TfqSimulateSampledExpectationOp() file: tensorflow_quantum/core/ops/tfq_simulate_sampled_expectation_op.cc start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: def tfq_simulate_expectation() file: tensorflow_quantum/core/ops/tfq_simulate_ops.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 322 unit: def tfq_simulate_state() file: tensorflow_quantum/core/ops/tfq_simulate_ops.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 323 unit: def tfq_simulate_samples() file: tensorflow_quantum/core/ops/tfq_simulate_ops.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 324 unit: def _max_lang() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 325 unit: def _function_languages_from_operation() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 326 unit: def can_serialize_operation() file: tensorflow_quantum/core/serialize/op_serializer.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 327 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_executors/unitary.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 328 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_executors/state.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 329 unit: def __init__() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 330 unit: def _set_context() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: def __init__() file: benchmarks/scripts/benchmark_random_circuit.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 332 unit: def benchmark_finite_difference_forward() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 333 unit: def benchmark_finite_difference_central() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 334 unit: def benchmark_parameter_shift() file: benchmarks/scripts/benchmark_op_gradients.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 335 unit: def __init__() file: benchmarks/scripts/benchmark_clifford_circuit.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 336 unit: explicit TfqCircuitAppendOp() file: tensorflow_quantum/core/ops/tfq_circuit_append_op.cc start line: 34 end line: 35 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 337 unit: explicit TfqSimulateStateOp() file: tensorflow_quantum/core/ops/tfq_simulate_state_op.cc start line: 45 end line: 46 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 338 unit: explicit TfqNoisyExpectationOp() file: tensorflow_quantum/core/ops/noise/tfq_noisy_expectation.cc start line: 58 end line: 59 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 339 unit: explicit TfqNoisySamplesOp() file: tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc start line: 56 end line: 57 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 340 unit: explicit TfqCalculateUnitaryOp() file: tensorflow_quantum/core/ops/tfq_calculate_unitary_op.cc start line: 44 end line: 45 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 341 unit: explicit TfqSimulateSamplesOp() file: tensorflow_quantum/core/ops/tfq_simulate_samples_op.cc start line: 50 end line: 51 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 342 unit: explicit TfqPsSymbolReplaceOp() file: tensorflow_quantum/core/ops/tfq_ps_symbol_replace_op.cc start line: 39 end line: 40 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: explicit TfqSimulateExpectationOp() file: tensorflow_quantum/core/ops/tfq_simulate_expectation_op.cc start line: 47 end line: 48 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: def append_circuit() file: tensorflow_quantum/core/ops/tfq_utility_ops.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 345 unit: explicit TfqInnerProductOp() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product.cc start line: 47 end line: 48 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: explicit TfqInnerProductGradOp() file: tensorflow_quantum/core/ops/math_ops/tfq_inner_product_grad.cc start line: 48 end line: 49 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: def _check_empty() file: tensorflow_quantum/core/ops/batch_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 348 unit: explicit TfqAdjointGradientOp() file: tensorflow_quantum/core/ops/tfq_adj_grad_op.cc start line: 48 end line: 49 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: explicit TfqPsWeightsFromSymbolOp() file: tensorflow_quantum/core/ops/tfq_ps_weights_from_symbols_op.cc start line: 40 end line: 41 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 350 unit: explicit TfqPsDecomposeOp() file: tensorflow_quantum/core/ops/tfq_ps_decompose_op.cc start line: 40 end line: 41 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 351 unit: explicit TfqResolveParametersOp() file: tensorflow_quantum/core/ops/tfq_resolve_parameters_op.cc start line: 37 end line: 38 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 352 unit: def supported_gate_types() file: tensorflow_quantum/core/serialize/serializable_gate_set.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: def _round() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: def _qid_shape_() file: tensorflow_quantum/core/serialize/serializer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: def __init__() file: tensorflow_quantum/python/layers/circuit_construction/elementary.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 356 unit: def symbols() file: tensorflow_quantum/python/layers/high_level/noisy_controlled_pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 357 unit: def symbols() file: tensorflow_quantum/python/layers/high_level/noisy_pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 358 unit: def symbol_values() file: tensorflow_quantum/python/layers/high_level/noisy_pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: def build() file: tensorflow_quantum/python/layers/high_level/noisy_pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 360 unit: def symbols() file: tensorflow_quantum/python/layers/high_level/controlled_pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 361 unit: def symbols() file: tensorflow_quantum/python/layers/high_level/pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 362 unit: def symbol_values() file: tensorflow_quantum/python/layers/high_level/pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: def build() file: tensorflow_quantum/python/layers/high_level/pqc.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 364 unit: def _get_engine_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 365 unit: def _set_engine_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 366 unit: def _get_quantum_concurrent_op_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: def _set_quantum_concurrent_op_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 368 unit: def set_engine_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 369 unit: def get_engine_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 370 unit: def set_quantum_concurrent_op_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: def get_quantum_concurrent_op_mode() file: tensorflow_quantum/python/quantum_context.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 372 unit: def prefer_static_shape() file: tensorflow_quantum/python/optimizers/spsa_minimizer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: def prefer_static_shape() file: tensorflow_quantum/python/optimizers/rotosolve_minimizer.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: def has_ext_modules() file: release/setup.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: def get_gradient_circuits() file: tensorflow_quantum/python/differentiators/differentiator.py start line: 0 end line: 0 size: 1 LOC McCabe index: 1 number of parameters: 4