id: 1 unit: public static void RunDumpUnitary() file: utilities/DumpUnitary/Driver.cs start line: 14 end line: 66 size: 43 LOC McCabe index: 7 number of parameters: 3 id: 2 unit: public virtual bool Simulate() file: utilities/Microsoft.Quantum.Katas/CheckKataMagic.cs start line: 145 end line: 197 size: 43 LOC McCabe index: 7 number of parameters: 3 id: 3 unit: def gen_matrix_message() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 38 LOC McCabe index: 11 number of parameters: 2 id: 4 unit: public virtual bool Simulate() file: utilities/Microsoft.Quantum.Katas/KataMagic.cs start line: 161 end line: 204 size: 36 LOC McCabe index: 7 number of parameters: 3 id: 5 unit: public KataMagic() file: utilities/Microsoft.Quantum.Katas/KataMagic.cs start line: 23 end line: 57 size: 34 LOC McCabe index: 1 number of parameters: 4 id: 6 unit: public CheckKataMagic() file: utilities/Microsoft.Quantum.Katas/CheckKataMagic.cs start line: 21 end line: 53 size: 32 LOC McCabe index: 1 number of parameters: 3 id: 7 unit: public virtual OperationInfo Compile() file: utilities/Microsoft.Quantum.Katas/KataMagic.cs start line: 119 end line: 153 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 8 unit: public void T13_AssertIsEigenstate() file: PhaseEstimation/Tests.cs start line: 38 end line: 72 size: 29 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: def polar_mult_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: public virtual string Compile() file: utilities/Microsoft.Quantum.Katas/CheckKataMagic.cs start line: 107 end line: 139 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: def format_row() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 12 unit: def complex_div_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 13 unit: def complex_exp_arbitrary_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: public void CountOperationCalls() file: utilities/Common/CounterSimulator.cs start line: 51 end line: 79 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 15 unit: def complex_exp_real_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: public static List GetKernel() file: SimonsAlgorithm/GaussianElimination.cs start line: 26 end line: 52 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: def complex_add_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: def complex_mult_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: def is_matrix_unitary_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: public virtual async Task Run() file: utilities/Microsoft.Quantum.Katas/CheckKataMagic.cs start line: 73 end line: 101 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 21 unit: public virtual async Task Run() file: utilities/Microsoft.Quantum.Katas/KataMagic.cs start line: 85 end line: 113 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 22 unit: def polar_convert_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: def find_eigenvalue_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 24 unit: def find_eigenvector_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 25 unit: def row_reduce() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 21 LOC McCabe index: 9 number of parameters: 1 id: 26 unit: def conjugate_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: def complex_exp_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: def cartesian_convert_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: def gen_unitary_matrix() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 30 unit: def inner_prod_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 31 unit: def matrix_inverse_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: def normalize_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 33 unit: def tensor_product_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 34 unit: def determinant() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 35 unit: def modulus_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 36 unit: public BooleanMatrix() file: SimonsAlgorithm/BooleanMatrix.cs start line: 116 end line: 132 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 37 unit: def matrix_add_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: def scalar_mult_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: def outer_prod_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: def gen_eigenmatrix() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 41 unit: def matrix_mult_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: def transpose_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: def conjugate_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: def adjoint_test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 45 unit: def tensor_product_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 46 unit: def find_eigenvector_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 47 unit: void TestFailingAssertOnUnitaries() file: PhaseEstimation/Tests.cs start line: 22 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 48 unit: def format_matrix() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 49 unit: def matrix_equal() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 14 LOC McCabe index: 10 number of parameters: 2 id: 50 unit: public virtual SimulatorBase CreateSimulator() file: utilities/Microsoft.Quantum.Katas/KataMagic.cs start line: 210 end line: 234 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: def imaginary_power_test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 52 unit: static void Main() file: utilities/DumpUnitary/Driver.cs start line: 67 end line: 80 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: public int CompareTo() file: SimonsAlgorithm/BooleanMatrix.cs start line: 68 end line: 78 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: private static bool FindPivotAndSwapRows() file: SimonsAlgorithm/GaussianElimination.cs start line: 62 end line: 72 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 55 unit: private static void ReduceRows() file: SimonsAlgorithm/GaussianElimination.cs start line: 81 end line: 90 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 56 unit: def gen_complex_matrix() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: def matrix_mult_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 58 unit: def transpose_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: def is_matrix_unitary_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 60 unit: public BooleanMatrix() file: SimonsAlgorithm/BooleanMatrix.cs start line: 105 end line: 114 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: public BooleanMatrix() file: SimonsAlgorithm/BooleanMatrix.cs start line: 134 end line: 143 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: public override Qubit Apply() file: utilities/Common/CounterSimulator.cs start line: 159 end line: 167 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 63 unit: public override IQArray Apply() file: utilities/Common/CounterSimulator.cs start line: 169 end line: 177 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: public void BlockDiagonalTest() file: utilities/DumpUnitaryTest/DumpUnitaryTest.cs start line: 13 end line: 22 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: public void CreeperTest() file: utilities/DumpUnitaryTest/DumpUnitaryTest.cs start line: 25 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: public List GetKernel() file: SimonsAlgorithm/BooleanMatrix.cs start line: 156 end line: 164 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 67 unit: def matrix_add_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: def scalar_mult_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: def conjugate_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 70 unit: public CounterSimulator() file: utilities/Common/CounterSimulator.cs start line: 29 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 71 unit: private static void SwapRows() file: SimonsAlgorithm/GaussianElimination.cs start line: 164 end line: 170 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 72 unit: def assert_polar() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 3 id: 73 unit: def matrix_inverse_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: public Instance() file: SimonsAlgorithm/Tests.cs start line: 40 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 75 unit: def assert_tuple() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 6 LOC McCabe index: 6 number of parameters: 1 id: 76 unit: public BooleanVector() file: SimonsAlgorithm/BooleanMatrix.cs start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: public void Deserialize() file: SimonsAlgorithm/Tests.cs start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: public void Serialize() file: SimonsAlgorithm/Tests.cs start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: def complex_div_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: def polar_mult_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 81 unit: def gen_labeled_message() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: def matrix_copy() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: def create_empty_matrix() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: public override void Apply() file: utilities/Common/CounterSimulator.cs start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: public override void Apply() file: utilities/Common/CounterSimulator.cs start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: public BooleanVector() file: SimonsAlgorithm/BooleanMatrix.cs start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: public BooleanVector() file: SimonsAlgorithm/BooleanMatrix.cs start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: public IEnumerator GetEnumerator() file: SimonsAlgorithm/BooleanMatrix.cs start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: public bool Equals() file: SimonsAlgorithm/BooleanMatrix.cs start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: public override string ToString() file: SimonsAlgorithm/BooleanMatrix.cs start line: 89 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: public BooleanMatrix() file: SimonsAlgorithm/BooleanMatrix.cs start line: 145 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: public List GetKernel() file: SimonsAlgorithm/BooleanMatrix.cs start line: 166 end line: 169 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: public override string ToString() file: SimonsAlgorithm/Tests.cs start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: public Simons_Algorithm() file: SimonsAlgorithm/Tests.cs start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: def prep_random_cartesian() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: def prep_random_polar() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: def complex_exp_real_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 98 unit: public int GetOperationCount() file: utilities/Common/CounterSimulator.cs start line: 42 end line: 45 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: public ResetOracleCallsImpl() file: utilities/Common/CounterSimulator.cs start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: public GetOracleCallsImpl() file: utilities/Common/CounterSimulator.cs start line: 108 end line: 111 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: public GetMultiQubitOpCountImpl() file: utilities/Common/CounterSimulator.cs start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: public Allocate() file: utilities/Common/CounterSimulator.cs start line: 154 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: public Release() file: utilities/Common/CounterSimulator.cs start line: 187 end line: 190 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: public ResetQubitCountImpl() file: utilities/Common/CounterSimulator.cs start line: 212 end line: 215 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: public GetMaxQubitCountImpl() file: utilities/Common/CounterSimulator.cs start line: 232 end line: 235 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: public Instance() file: SimonsAlgorithm/Tests.cs start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: def exercise() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: def test() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: def complex_exp_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: def complex_exp_arbitrary_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: def exercise() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: def test() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: def append_vector() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 114 unit: def row_add() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: def assert_cartesian() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 3 id: 116 unit: def format_cartesian() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: def format_polar() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: def imaginary_power_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: def complex_add_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: def complex_mult_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: def conjugate_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: def modulus_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def polar_convert_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: def cartesian_convert_ref() file: tutorials/ComplexArithmetic/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: def randnum() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: def randcomplex() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: def adjoint_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: def projection() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 129 unit: def inner_prod_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: def normalize_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: def outer_prod_ref() file: tutorials/LinearAlgebra/testing.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2