Python framework for creating, editing, and running Noisy Intermediate-Scale Quantum (NISQ) circuits.
This report presents the forensic synthetic code analysis of quantumlib/Cirq, a Python project with 5,013 GitHub stars. SynthScan v2.0 examined 375,538 lines of code across 1646 source files, recording 9624 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 28.7 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 9624 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 24 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW | cirq-web/cirq_web/widget_test.py | 59 | def test_generate_html_file_with_browser(tmpdir) -> None: | STRING |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 26 | def test_init_bloch_sphere_type() -> None: | CODE |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 32 | def test_valid_bloch_sphere_radius(sphere_radius) -> None: | CODE |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 38 | def test_invalid_bloch_sphere_radius(sphere_radius) -> None: | CODE |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 43 | def test_valid_bloch_sphere_vector() -> None: | CODE |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 50 | def test_no_state_vector_given() -> None: | CODE |
| LOW⚡ | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 55 | def test_bloch_sphere_default_client_code() -> None: | CODE |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 68 | def test_bloch_sphere_default_client_code_comp_basis() -> None: | STRING |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 81 | def test_bloch_sphere_default_bundle_name() -> None: | STRING |
| LOW | cirq-web/cirq_web/circuits/circuit_test.py | 74 | def test_circuit_client_code_unsupported_qubit_type() -> None: | STRING |
| LOW | cirq-web/cirq_web/circuits/circuit_test.py | 82 | def test_circuit_default_bundle_name() -> None: | STRING |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 53 | def test_resolve_operation_hadamard() -> None: | CODE |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 67 | def test_resolve_operation_x_pow() -> None: | CODE |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 82 | def test_resolve_operation_invalid_diagram_info(custom_gate) -> None: | CODE |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 97 | def test_unresolvable_operation_() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset.py | 49 | def _decompose_single_qubit_operation(self, op: cirq.Operation, _: int) -> DecomposeResult: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset.py | 64 | def _decompose_two_qubit_operation(self, op: cirq.Operation, _) -> DecomposeResult: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_metadata_test.py | 51 | def test_aqtdevice_duration_of(metadata, qubits) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 103 | def test_aqt_sampler_submit_job_error_handling() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 123 | def test_aqt_sampler_get_result_error_handling() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 145 | def test_aqt_sampler_empty_circuit() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 232 | def test_aqt_sampler_sim_xtalk() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 268 | def test_aqt_device_wrong_op_str() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 277 | def test_aqt_sampler_parses_legacy_json_correctly() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 301 | def test_aqt_sampler_submits_jobs_correctly() -> None: | CODE |
| LOW⚡ | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 339 | def test_measurement_not_at_end_is_not_allowed() -> None: | CODE |
| LOW⚡ | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 347 | def test_multiple_measurements_are_not_allowed() -> None: | CODE |
| LOW⚡ | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 355 | def test_unknown_gate_in_json() -> None: | CODE |
| LOW⚡ | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 365 | def test_aqt_sampler_raises_exception_on_bad_result_response() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 382 | def test_aqt_sampler_print_resources_shows_hint_if_no_workspaces() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 394 | def test_aqt_sampler_print_resources_shows_hint_if_no_resources() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 410 | def test_aqt_sampler_print_resources_includes_received_resources_in_table() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 443 | def test_aqt_sampler_fetch_resources_returns_retrieved_resources() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/json_resolver_cache.py | 25 | def _class_resolver_dictionary() -> dict[str, ObjectFactory]: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 92 | def test_validate_measurement_non_adjacent_qubits_ok(device) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 98 | def test_validate_operation_existing_qubits(device) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 117 | def test_validate_operation_supported_gate(device) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 136 | def test_validate_circuit_repeat_measurement_keys(device) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 150 | def test_aqt_device_pretty_repr(device) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler.py | 276 | def _parse_legacy_circuit_json(self, json_str: str) -> list[Operation]: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 193 | def generate_circuit_from_list(self, json_string: str) -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 376 | def _verify_unique_measurement_keys(operations: Iterable[cirq.Operation]): | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset_test.py | 60 | def test_decompose_single_qubit_operation() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset_test.py | 81 | def test_decompose_two_qubit_operation() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset_test.py | 91 | def test_postprocess_transformers() -> None: | CODE |
| LOW | cirq-aqt/cirq_aqt/aqt_simulator_test.py | 30 | def test_ms_crosstalk_n_noise() -> None: | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 32 | def test_serialize_single_circuit_empty_circuit_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 39 | def test_serialize_many_circuits_empty_circuit_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 46 | def test_serialize_single_circuit_non_terminal_measurements(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 54 | def test_serialize_many_circuits_non_terminal_measurements(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 62 | def test_serialize_single_circuit_not_line_qubits_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 70 | def test_serialize_many_circuits_not_line_qubits_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 78 | def test_serialize_single_circuit_parameterized_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 86 | def test_serialize_many_circuits_parameterized_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 94 | def test_serialize_single_circuit_implicit_num_qubits(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 102 | def test_serialize_many_circuits_implicit_num_qubits(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 110 | def test_serialize_single_circuit(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 158 | def test_serialize_single_circuit_non_gate_op_invalid(): | CODE |
| LOW⚡ | cirq-ionq/cirq_ionq/serializer_test.py | 166 | def test_serialize_many_circuits_non_gate_op_invalid(): | CODE |
| 4249 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-web/cirq_web/widget_test.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/widget.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/__init__.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/__init__.py | 17 | CODE | |
| LOW | cirq-web/cirq_web/__init__.py | 19 | CODE | |
| LOW | cirq-web/cirq_web/__init__.py | 21 | CODE | |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/bloch_sphere/__init__.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/circuits/circuit.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/circuits/__init__.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/circuits/__init__.py | 17 | CODE | |
| LOW | cirq-web/cirq_web/circuits/circuit_test.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 15 | CODE | |
| LOW | cirq-web/cirq_web/circuits/symbols.py | 18 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset.py | 17 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device_metadata_test.py | 17 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 15 | CODE | |
| LOW | cirq-aqt/cirq_aqt/json_resolver_cache.py | 15 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 15 | CODE | |
| LOW | cirq-aqt/cirq_aqt/__init__.py | 17 | CODE | |
| LOW | cirq-aqt/cirq_aqt/__init__.py | 18 | CODE | |
| LOW | cirq-aqt/cirq_aqt/__init__.py | 18 | CODE | |
| LOW | cirq-aqt/cirq_aqt/__init__.py | 22 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler.py | 25 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 27 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset_test.py | 17 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_simulator_test.py | 15 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device_metadata.py | 17 | CODE | |
| LOW | cirq-aqt/cirq_aqt/json_test_data/__init__.py | 20 | CODE | |
| LOW | cirq-ionq/cirq_ionq/serializer_test.py | 15 | CODE | |
| LOW | cirq-ionq/cirq_ionq/service.py | 16 | CODE | |
| LOW | cirq-ionq/cirq_ionq/ionq_gateset.py | 17 | CODE | |
| LOW | cirq-ionq/cirq_ionq/ionq_exceptions_test.py | 15 | CODE | |
| LOW | cirq-ionq/cirq_ionq/ionq_exceptions.py | 16 | CODE | |
| LOW | cirq-ionq/cirq_ionq/results.py | 16 | CODE | |
| LOW | cirq-ionq/cirq_ionq/calibration_test.py | 15 | CODE | |
| LOW | cirq-ionq/cirq_ionq/ionq_client.py | 16 | CODE | |
| LOW | cirq-ionq/cirq_ionq/job.py | 16 | CODE | |
| LOW | cirq-ionq/cirq_ionq/json_resolver_cache.py | 15 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 15 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 17 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 19 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 21 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 21 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 26 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 26 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 31 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 31 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 31 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 31 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 38 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 40 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 40 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 42 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 44 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 44 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 46 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 48 | CODE | |
| LOW | cirq-ionq/cirq_ionq/__init__.py | 48 | CODE | |
| 3037 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cirq-aqt/cirq_aqt/aqt_sampler.py | 231 | Generates the JSON string from a Circuit. The json format is defined as follows: [[op_string,gate_expo | STRING |
| HIGH | cirq-aqt/cirq_aqt/aqt_sampler.py | 330 | Sends the json string to the remote AQT device. Submits a pre-prepared JSON string representing a circuit to th | STRING |
| HIGH | cirq-aqt/cirq_aqt/aqt_device.py | 60 | Find the string representation for a given gate or operation. Args: op_obj: Gate or operation object. Gate | STRING |
| HIGH | cirq-aqt/cirq_aqt/aqt_device.py | 223 | Samples the circuit. Args: repetitions: Number of times the circuit is simulated. Returns: | STRING |
| HIGH | cirq-ionq/cirq_ionq/service.py | 279 | Create a new job to run the given circuit. Args: circuit: The circuit to run. repetitio | STRING |
| HIGH | cirq-ionq/cirq_ionq/service.py | 347 | Create a new job to run the given circuit. Args: circuits: The circuits to run. repetit | STRING |
| HIGH | cirq-ionq/cirq_ionq/service.py | 404 | Gets a job that has been created on the IonQ API. Args: job_id: The UUID of the job. Jobs are assig | STRING |
| HIGH | cirq-ionq/cirq_ionq/service.py | 423 | Lists jobs that have been created on the IonQ API. Args: status: If supplied will filter to only jo | STRING |
| HIGH | cirq-ionq/cirq_ionq/service.py | 464 | List calibrations via the API. Args: start: If supplied, only calibrations after this date and time | STRING |
| HIGH | cirq-ionq/cirq_ionq/results.py | 114 | Returns a `cirq.Result` for these results. `cirq.Result` contains a less dense representation of results than t | STRING |
| HIGH | cirq-ionq/cirq_ionq/results.py | 239 | Samples from the simulation probability result, producing a `cirq.Result`. The IonQ simulator returns the proba | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 121 | Create a job. Args: serialized_program: The `cirq_ionq.SerializedProgram` containing the serialized | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 194 | Get the job from the IonQ API. Args: job_id: The UUID of the job (returned when the job was created | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 215 | Get job results from IonQ API. Args: job_id: The UUID of the job (returned when the job was created | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 258 | Lists jobs from the IonQ API. Args: status: If not None, filter to jobs with this status. | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 327 | Lists calibrations from the IonQ API. Args: start: If supplied, only calibrations after this date a | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_client.py | 393 | Make a request to the API, retrying if necessary. Args: request: A function that returns a `request | STRING |
| HIGH | cirq-ionq/cirq_ionq/job.py | 207 | Polls the IonQ api for results. Args: timeout_seconds: The total number of seconds to poll for. | STRING |
| HIGH | cirq-ionq/cirq_ionq/serializer.py | 405 | Serializes measurement ops into a form suitable to be passed via metadata. IonQ API does not contain measuremen | STRING |
| HIGH | cirq-core/cirq/_compat.py | 450 | Replace module with a wrapper that gives warnings for deprecated attributes. Args: module_name: Absolute na | STRING |
| HIGH | cirq-core/cirq/study/sweepable.py | 79 | Converts the argument into a ``cirq.Sweep``. Args: sweep_or_resolver_list: The object to try to turn into a | STRING |
| HIGH | cirq-core/cirq/study/flatten_expressions.py | 33 | Creates a copy of `val` with any symbols or expressions replaced with new symbols. `val` can be a `Circuit`, `Gate` | STRING |
| HIGH | cirq-core/cirq/study/resolver.py | 111 | Attempt to resolve a parameter to its assigned value. Scalars are returned without modification. Strings are r | STRING |
| HIGH | cirq-core/cirq/linalg/predicates.py | 241 | Returns an index corresponding to a desired subset of an np.ndarray. It is assumed that the np.ndarray's shape is o | STRING |
| HIGH | cirq-core/cirq/linalg/combinators.py | 62 | Computes the kronecker product of a sequence of values and control tags. Use `cirq.CONTROL_TAG` to represent contro | STRING |
| HIGH | cirq-core/cirq/linalg/combinators.py | 113 | Computes the dot/matrix product of a sequence of values. Performs the computation in serial order without regard to | STRING |
| HIGH | cirq-core/cirq/linalg/combinators.py | 146 | Concatenates blocks into a block diagonal matrix. Args: *blocks: Square matrices to place along the diagona | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 102 | Gives the guaranteed unitary eigendecomposition of a normal matrix. All Hermitian and unitary matrices are normal m | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 162 | Splits a 4x4 matrix U = kron(A, B) into A, B, and a global factor. Requires the matrix to be the kronecker product | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 212 | Finds 2x2 special-unitaries A, B where mat = Mag.H @ kron(A, B) @ Mag. Mag is the magic basis matrix: 1 0 | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 526 | Plots the interaction coefficients of many two-qubit operations. Plots: A point for the (x, y, z) normalize | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 789 | Decomposes a 2-qubit unitary into 1-qubit ops and XX/YY/ZZ interactions. Args: unitary_object: The value to | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 859 | Compute the KAK vectors of one or more two qubit unitaries. Any 2 qubit unitary may be expressed as $$ U = k_l | STRING |
| HIGH | cirq-core/cirq/linalg/decompositions.py | 1005 | Returns the min number of CNOT/CZ gates required by a two-qubit unitary. See Proposition III.1, III.2, III.3 in She | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 111 | Left-multiplies the given axes of the target tensor by the given matrix. Note that the matrix must have a compatibl | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 317 | Left-multiplies an NxN matrix onto N slices of a numpy array. One example is that the 4x4 matrix of a fractional SW | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 427 | Returns a mixture representing a state vector with only some qubits kept. The input state vector can have any shape | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 486 | Attempts to factor a state vector into two parts and return one of them. The input `state_vector` must have shape ` | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 644 | Factors a state vector into two independent state vectors. This function should only be called on state vectors tha | STRING |
| HIGH | cirq-core/cirq/linalg/transformations.py | 690 | Factors a density matrix into two independent density matrices. This function should only be called on density matr | STRING |
| HIGH | cirq-core/cirq/linalg/diagonalize.py | 29 | Returns an orthogonal matrix that diagonalizes the given matrix. Args: matrix: A real symmetric matrix to d | STRING |
| HIGH | cirq-core/cirq/linalg/diagonalize.py | 87 | Returns an orthogonal matrix that diagonalizes both given matrices. The given matrices must commute. Guarantees | STRING |
| HIGH | cirq-core/cirq/linalg/diagonalize.py | 161 | Finds orthogonal matrices that diagonalize both mat1 and mat2. Requires mat1 and mat2 to be real. Requires mat1 | STRING |
| HIGH | cirq-core/cirq/linalg/diagonalize.py | 232 | Finds orthogonal matrices L, R such that L @ matrix @ R is diagonal. Args: mat: A unitary matrix. r | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 347 | Finds the index of the next moment that touches the given qubits. Args: qubits: We're looking for o | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 402 | Finds the index of the previous moment that touches the given qubits. Args: qubits: We're looking f | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 447 | Determines how far can be reached into a circuit under certain rules. The location L = (qubit, moment_index) is | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 1072 | Converts the circuit into a unitary matrix, if possible. Returns the same result as `cirq.unitary`, but provide | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 1151 | Returns the state vector resulting from acting operations on a state. This is equivalent to calling cirq.final_ | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 1448 | Combines operations from circuits in a moment-by-moment fashion. Moment k of the resulting circuit will have al | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 2066 | Returns the same circuit, but with different qubits. This function will return a new `Circuit` with the same ga | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 2259 | Inserts operations into the circuit. Operations are inserted into the moment specified by the index and | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 2340 | Writes operations inline into an area of the circuit. Args: start: The start of the range (inclusiv | STRING |
| HIGH | cirq-core/cirq/circuits/circuit.py | 2980 | Groups runs of items that are identical according to a keying function. Args: items: The items to group. | STRING |
| HIGH | cirq-core/cirq/circuits/moment.py | 203 | Returns an equal moment, but with the given op added. Any tags on the Moment will be dropped. Args: | STRING |
| HIGH | cirq-core/cirq/circuits/moment.py | 233 | Returns a new moment with the given contents added. Any tags on the original Moment object are dropped if the M | STRING |
| HIGH | cirq-core/cirq/circuits/moment.py | 456 | Returns self expanded to given superset of qubits by making identities explicit. Args: qubits: Iter | STRING |
| HIGH | cirq-core/cirq/circuits/circuit_operation.py | 588 | Returns a copy of this operation repeated 'repetitions' times. Each repetition instance will be identified by a | STRING |
| HIGH | cirq-core/cirq/circuits/circuit_operation.py | 699 | Returns a copy of this operation with an updated qubit mapping. Users should pass either 'qubit_map' or 'transf | STRING |
| HIGH | cirq-core/cirq/circuits/circuit_operation.py | 738 | Returns a copy of this operation with an updated qubit mapping. Args: *new_qubits: A list of qubits | STRING |
| 256 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | setup.py | 1 | # Copyright 2018 The Cirq Developers | COMMENT |
| LOW | .yamllint.yaml | 1 | # Copyright 2025 The Cirq Developers | COMMENT |
| LOW | .yamllint.yaml | 21 | line-length: | COMMENT |
| LOW | cirq-web/setup.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/widget_test.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/conftest.py | 1 | # Copyright 2025 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/widget.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/_version.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/__init__.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/vitest.setup.ts | 1 | // Copyright 2025 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/bloch_sphere/__init__.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/bloch_sphere/bloch_sphere_test.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/circuits/circuit.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/circuits/__init__.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/circuits/circuit_test.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/circuits/symbols_test.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/circuits/symbols.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …web/cirq_web/e2e/bloch_sphere/bloch_sphere_e2e_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/e2e/circuit/circuit_e2e_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/main.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/main.ts | 41 | // ie. | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/bloch_sphere_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/bloch_sphere.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …eb/cirq_web/src/bloch_sphere/components/sphere_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/components/axes.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/components/sphere.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …b/cirq_web/src/bloch_sphere/components/state_vector.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/components/text.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …-web/cirq_web/src/bloch_sphere/components/axes_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/bloch_sphere/components/scene.ts | 1 | /* istanbul ignore file */ | COMMENT |
| LOW | …-web/cirq_web/src/bloch_sphere/components/meridians.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …-web/cirq_web/src/bloch_sphere/components/text_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …cirq_web/src/bloch_sphere/components/meridians_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …q_web/src/bloch_sphere/components/state_vector_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/main.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/main.ts | 181 | // allowing for createGridCircuit to be called in <script> tags, | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/grid_circuit.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/grid_circuit_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | …web/cirq_web/src/circuit/components/grid_qubit_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/components/types_test.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/components/meshes.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/components/types.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-web/cirq_web/src/circuit/components/grid_qubit.ts | 1 | // Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/setup.py | 1 | # Copyright 2018 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset.py | 1 | # Copyright 2022 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/conftest.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_device_metadata_test.py | 1 | # Copyright 2022 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/_version.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler_test.py | 1 | # Copyright 2019 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/json_resolver_cache.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_device_test.py | 1 | # Copyright 2022 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/__init__.py | 1 | # Copyright 2019 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_sampler.py | 1 | # Copyright 2019 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 1 | # Copyright 2019 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_target_gateset_test.py | 1 | # Copyright 2022 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_simulator_test.py | 1 | # Copyright 2019 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/aqt_device_metadata.py | 1 | # Copyright 2022 The Cirq Developers | COMMENT |
| LOW | cirq-aqt/cirq_aqt/json_test_data/__init__.py | 1 | # Copyright 2021 The Cirq Developers | COMMENT |
| 1099 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cirq-aqt/cirq_aqt/aqt_target_gateset.py | 0 | list of transformers which should be run after decomposing individual operations. | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_gateset.py | 0 | list of transformers which should be run after decomposing individual operations. | STRING |
| HIGH | cirq-ionq/cirq_ionq/ionq_native_target_gateset.py | 0 | list of transformers which should be run after decomposing individual operations. | STRING |
| HIGH | …re/cirq/contrib/paulistring/clifford_target_gateset.py | 0 | list of transformers which should be run after decomposing individual operations. | STRING |
| HIGH | …sformers/target_gatesets/compilation_target_gateset.py | 0 | list of transformers which should be run after decomposing individual operations. | STRING |
| HIGH | cirq-aqt/cirq_aqt/_version.py | 0 | define version number here, read it from setup.py automatically | STRING |
| HIGH | cirq-ionq/cirq_ionq/_version.py | 0 | define version number here, read it from setup.py automatically | STRING |
| HIGH | dev_tools/modules_test_data/mod2/pack2/_version.py | 0 | define version number here, read it from setup.py automatically | STRING |
| HIGH | dev_tools/modules_test_data/mod1/pack1/_version.py | 0 | define version number here, read it from setup.py automatically | STRING |
| HIGH | cirq-pasqal/cirq_pasqal/_version.py | 0 | define version number here, read it from setup.py automatically | STRING |
| HIGH | cirq-core/cirq/circuits/insert_strategy.py | 0 | returns a tuple of args to pass to __new__ when unpickling. | STRING |
| HIGH | cirq-core/cirq/ops/named_qubit.py | 0 | returns a tuple of args to pass to __new__ when unpickling. | STRING |
| HIGH | cirq-core/cirq/devices/grid_qubit.py | 0 | returns a tuple of args to pass to __new__ when unpickling. | STRING |
| HIGH | cirq-core/cirq/devices/line_qubit.py | 0 | returns a tuple of args to pass to __new__ when unpickling. | STRING |
| HIGH | cirq-google/cirq_google/ops/coupler.py | 0 | returns a tuple of args to pass to __new__ when unpickling. | STRING |
| HIGH | cirq-core/cirq/experiments/xeb_fitting.py | 0 | estimation of fidelity associated with experimental circuit executions. | STRING |
| HIGH | cirq-core/cirq/experiments/xeb_sampling.py | 0 | estimation of fidelity associated with experimental circuit executions. | STRING |
| HIGH | cirq-core/cirq/experiments/fidelity_estimation.py | 0 | estimation of fidelity associated with experimental circuit executions. | STRING |
| HIGH | cirq-core/cirq/experiments/xeb_simulation.py | 0 | estimation of fidelity associated with experimental circuit executions. | STRING |
| HIGH | cirq-core/cirq/contrib/quimb/mps_simulator.py | 0 | copies the object. args: deep_copy_buffers: true by default, false to reuse the existing buffers. returns: a copy of the | STRING |
| HIGH | cirq-core/cirq/sim/state_vector_simulation_state.py | 0 | copies the object. args: deep_copy_buffers: true by default, false to reuse the existing buffers. returns: a copy of the | STRING |
| HIGH | cirq-core/cirq/sim/density_matrix_simulation_state.py | 0 | copies the object. args: deep_copy_buffers: true by default, false to reuse the existing buffers. returns: a copy of the | STRING |
| HIGH | cirq-core/cirq/contrib/quimb/mps_simulator.py | 0 | samples the density matrix. args: axes: the axes to sample. repetitions: the number of samples to make. seed: the random | STRING |
| HIGH | cirq-core/cirq/sim/state_vector_simulation_state.py | 0 | samples the density matrix. args: axes: the axes to sample. repetitions: the number of samples to make. seed: the random | STRING |
| HIGH | cirq-core/cirq/sim/density_matrix_simulation_state.py | 0 | samples the density matrix. args: axes: the axes to sample. repetitions: the number of samples to make. seed: the random | STRING |
| HIGH | …irq/transformers/target_gatesets/sqrt_iswap_gateset.py | 0 | target gateset used for compiling circuits to sycamore + 1-q rotations + measurement gates. | STRING |
| HIGH | …q-core/cirq/transformers/target_gatesets/cz_gateset.py | 0 | target gateset used for compiling circuits to sycamore + 1-q rotations + measurement gates. | STRING |
| HIGH | …oogle/transformers/target_gatesets/sycamore_gateset.py | 0 | target gateset used for compiling circuits to sycamore + 1-q rotations + measurement gates. | STRING |
| HIGH | cirq-core/cirq/ops/diagonal_gate.py | 0 | a two qubit gate with only diagonal elements. this gate's off-diagonal elements are zero and its on-diagonal elements ar | STRING |
| HIGH | cirq-core/cirq/ops/three_qubit_gates.py | 0 | a two qubit gate with only diagonal elements. this gate's off-diagonal elements are zero and its on-diagonal elements ar | STRING |
| HIGH | cirq-core/cirq/ops/two_qubit_diagonal_gate.py | 0 | a two qubit gate with only diagonal elements. this gate's off-diagonal elements are zero and its on-diagonal elements ar | STRING |
| HIGH | cirq-core/cirq/qis/quantum_state_representation.py | 0 | creates a copy of the object. args: deep_copy_buffers: if true, buffers will also be deep-copied. otherwise the copy wil | STRING |
| HIGH | cirq-core/cirq/sim/simulation_state.py | 0 | creates a copy of the object. args: deep_copy_buffers: if true, buffers will also be deep-copied. otherwise the copy wil | STRING |
| HIGH | cirq-core/cirq/sim/simulation_state_base.py | 0 | creates a copy of the object. args: deep_copy_buffers: if true, buffers will also be deep-copied. otherwise the copy wil | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_local_engine.py | 0 | returns a list of previously executed quantum programs. args: created_after: retrieve programs that were created after t | STRING |
| HIGH | cirq-google/cirq_google/engine/engine.py | 0 | returns a list of previously executed quantum programs. args: created_after: retrieve programs that were created after t | STRING |
| HIGH | …-google/cirq_google/engine/abstract_local_processor.py | 0 | returns a list of previously executed quantum programs. args: created_after: retrieve programs that were created after t | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_local_engine.py | 0 | returns the list of jobs that match the specified criteria. all historical jobs can be retrieved using this method and f | STRING |
| HIGH | cirq-google/cirq_google/engine/engine.py | 0 | returns the list of jobs that match the specified criteria. all historical jobs can be retrieved using this method and f | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_engine.py | 0 | returns the list of jobs that match the specified criteria. all historical jobs can be retrieved using this method and f | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_local_engine.py | 0 | returns an engineprocessor for a quantum engine processor. args: processor_id: the processor unique identifier. returns: | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_engine.py | 0 | returns an engineprocessor for a quantum engine processor. args: processor_id: the processor unique identifier. returns: | STRING |
| HIGH | cirq-google/cirq_google/engine/engine.py | 0 | returns an engineprocessor for a quantum engine processor. args: processor_id: the processor unique identifier. returns: | STRING |
| HIGH | …rq-google/cirq_google/engine/abstract_local_program.py | 0 | returns the parent engine object. returns: the program's parent engine. | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_processor.py | 0 | returns the parent engine object. returns: the program's parent engine. | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_program.py | 0 | returns the parent engine object. returns: the program's parent engine. | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_processor.py | 0 | returns the parent engine object. returns: the program's parent engine. | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_program.py | 0 | returns the parent engine object. returns: the program's parent engine. | STRING |
| HIGH | …rq-google/cirq_google/engine/abstract_local_program.py | 0 | sets (overwriting) the labels for a previously created quantum program. params: labels: the entire set of new program la | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_program.py | 0 | sets (overwriting) the labels for a previously created quantum program. params: labels: the entire set of new program la | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_program.py | 0 | sets (overwriting) the labels for a previously created quantum program. params: labels: the entire set of new program la | STRING |
| HIGH | …rq-google/cirq_google/engine/abstract_local_program.py | 0 | adds new labels to a previously created quantum program. params: labels: new labels to add to the existing program label | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_program.py | 0 | adds new labels to a previously created quantum program. params: labels: new labels to add to the existing program label | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_program.py | 0 | adds new labels to a previously created quantum program. params: labels: new labels to add to the existing program label | STRING |
| HIGH | …rq-google/cirq_google/engine/abstract_local_program.py | 0 | removes labels with given keys from the labels of a previously created quantum program. params: label_keys: label keys t | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_program.py | 0 | removes labels with given keys from the labels of a previously created quantum program. params: label_keys: label keys t | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_program.py | 0 | removes labels with given keys from the labels of a previously created quantum program. params: label_keys: label keys t | STRING |
| HIGH | …rq-google/cirq_google/engine/abstract_local_program.py | 0 | returns the cirq circuit for the quantum engine program. this is only supported if the program was created with the v2 p | STRING |
| HIGH | cirq-google/cirq_google/engine/abstract_program.py | 0 | returns the cirq circuit for the quantum engine program. this is only supported if the program was created with the v2 p | STRING |
| HIGH | cirq-google/cirq_google/engine/engine_program.py | 0 | returns the cirq circuit for the quantum engine program. this is only supported if the program was created with the v2 p | STRING |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …-core/cirq/interop/quirk/cells/input_rotation_cells.py | 48 | f'cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell(' | CODE |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 425 | cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell('+=A2', [a, b], [(c, d, e)]) | STRING |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 426 | mapped_cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell( | STRING |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 433 | cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell('+=A2', [a, b], [None]) | STRING |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 434 | mapped_cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell('+=A2', [a2, b2], [None]) | STRING |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 439 | cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell('+=A2', [a, b], [42]) | STRING |
| CRITICAL⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 440 | mapped_cell = cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell('+=A2', [a2, b2], [42]) | STRING |
| CRITICAL | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 336 | cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell( | STRING |
| CRITICAL | cirq-core/cirq/interop/quirk/cells/arithmetic_cells.py | 192 | f'cirq.interop.quirk.cells.arithmetic_cells.ArithmeticCell(' | CODE |
| CRITICAL | cirq-core/cirq/interop/quirk/cells/control_cells.py | 40 | f'cirq.interop.quirk.cells.control_cells.ControlCell(' | CODE |
| CRITICAL | cirq-core/cirq/interop/quirk/cells/control_cells.py | 84 | f'cirq.interop.quirk.cells.control_cells.ParityControlCell(' | CODE |
| CRITICAL⚡ | cirq-core/cirq/interop/quirk/cells/swap_cell_test.py | 52 | cell = cirq.interop.quirk.cells.swap_cell.SwapCell(qubits=[a, b], controls=[c, d]) | CODE |
| CRITICAL⚡ | cirq-core/cirq/interop/quirk/cells/swap_cell_test.py | 53 | mapped_cell = cirq.interop.quirk.cells.swap_cell.SwapCell(qubits=[a2, b2], controls=[c2, d2]) | CODE |
| CRITICAL⚡ | cirq-core/cirq/interop/quirk/cells/swap_cell_test.py | 61 | cirq.interop.quirk.cells.swap_cell.SwapCell(qubits=[a, b], controls=[c, d]) | CODE |
| CRITICAL | cirq-core/cirq/interop/quirk/cells/swap_cell.py | 64 | f'cirq.interop.quirk.cells.swap_cell.SwapCell(' | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 114 | cell = cirq.interop.quirk.cells.control_cells.ControlCell(a, [cirq.Y(b) ** 0.5]) | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 115 | mapped_cell = cirq.interop.quirk.cells.control_cells.ControlCell(a2, [cirq.Y(b2) ** 0.5]) | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 123 | cell = cirq.interop.quirk.cells.control_cells.ParityControlCell([a, b], [cirq.Y(c) ** 0.5]) | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 124 | mapped_cell = cirq.interop.quirk.cells.control_cells.ParityControlCell( | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 134 | cirq.interop.quirk.cells.control_cells.ControlCell(a, [cirq.Y(b) ** 0.5]) | CODE |
| CRITICAL⚡ | …rq-core/cirq/interop/quirk/cells/control_cells_test.py | 137 | cirq.interop.quirk.cells.control_cells.ParityControlCell([a, b], [cirq.Y(c) ** 0.5]) | CODE |
| CRITICAL⚡ | …/cirq/interop/quirk/cells/input_rotation_cells_test.py | 151 | cell = cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell( | STRING |
| CRITICAL⚡ | …/cirq/interop/quirk/cells/input_rotation_cells_test.py | 158 | cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell( | STRING |
| CRITICAL⚡ | …/cirq/interop/quirk/cells/input_rotation_cells_test.py | 170 | cell = cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell( | STRING |
| CRITICAL⚡ | …/cirq/interop/quirk/cells/input_rotation_cells_test.py | 177 | cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell( | STRING |
| CRITICAL | …/cirq/interop/quirk/cells/input_rotation_cells_test.py | 189 | cirq.interop.quirk.cells.input_rotation_cells.InputRotationCell( | STRING |
| CRITICAL | …ogle/cirq_google/serialization/op_deserializer_test.py | 98 | p1.value.arg_value.bool_values.values.extend([True, False]) | CODE |
| CRITICAL | …e/cirq_google/serialization/circuit_serializer_test.py | 826 | op_symbol.xpowgate.exponent.func.args.add().arg_value.float_value = 2.0 | CODE |
| CRITICAL | …e/cirq_google/serialization/circuit_serializer_test.py | 827 | op_symbol.xpowgate.exponent.func.args.add().symbol = 't' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cirq-core/cirq/study/flatten_expressions.py | 283 | # Create a new symbol | COMMENT |
| MEDIUM | cirq-core/cirq/circuits/circuit_test.py | 5122 | # Create a circuit with every operation in a separate moment | STRING |
| MEDIUM | cirq-core/cirq/experiments/xeb_fitting.py | 118 | """This function is applied per cycle_depth in the following groupby aggregation.""" | STRING |
| MEDIUM | cirq-core/cirq/experiments/z_phase_calibration.py | 266 | # Create a 16x9 rectangle. | COMMENT |
| MEDIUM⚡ | cirq-core/cirq/contrib/ghz/ghz_2d_test.py | 159 | # Define the graph | COMMENT |
| MEDIUM⚡ | cirq-core/cirq/contrib/ghz/ghz_2d_test.py | 167 | # Create the base circuit | COMMENT |
| MEDIUM⚡ | cirq-core/cirq/contrib/ghz/ghz_2d_test.py | 172 | # Create the transformed circuit | COMMENT |
| MEDIUM | …ore/cirq/contrib/quantum_volume/quantum_volume_test.py | 162 | # Create a circuit that will require some swaps. | COMMENT |
| MEDIUM | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 596 | # Create a new column. | COMMENT |
| MEDIUM | …ng/pauli_string_measurement_with_readout_mitigation.py | 848 | # Create a mask for the relevant qubits in the measurement results | COMMENT |
| MEDIUM | …core/cirq/transformers/randomized_measurements_test.py | 24 | # Create a 4-qubit circuit | COMMENT |
| MEDIUM | …core/cirq/transformers/randomized_measurements_test.py | 42 | # Create a 4-qubit circuit | COMMENT |
| MEDIUM | …core/cirq/transformers/randomized_measurements_test.py | 56 | # Create a 4-qubit circuit | COMMENT |
| MEDIUM | …rq-core/cirq/transformers/dynamical_decoupling_test.py | 805 | # Create a mock _Grid instance that would lead to an unabsorbed Pauli. | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 260 | # Create a sub-circuit with a CleanQubit placeholder | COMMENT |
| MEDIUM | …q-core/cirq/transformers/diagonal_optimization_test.py | 191 | # Create a custom diagonal 4x4 unitary (not a CZPowGate) | COMMENT |
| MEDIUM | …q-core/cirq/transformers/diagonal_optimization_test.py | 308 | # Create a sub-circuit with CZ before measurements on both qubits | COMMENT |
| MEDIUM | …q-core/cirq/transformers/diagonal_optimization_test.py | 332 | # Create a sub-circuit with Z before measurement | COMMENT |
| MEDIUM | …q-core/cirq/transformers/diagonal_optimization_test.py | 348 | # Create a sub-circuit with a tagged Z before measurement | COMMENT |
| MEDIUM⚡ | …re/cirq/transformers/routing/route_circuit_cqc_test.py | 306 | # Create a mixed graph with both bidirectional and reverse-only edges | COMMENT |
| MEDIUM⚡ | …re/cirq/transformers/routing/route_circuit_cqc_test.py | 309 | # Create a path: 0<->1->2<-3 (1->2 is forward-only, 3->2 is reverse-only) | COMMENT |
| MEDIUM | …re/cirq/transformers/routing/route_circuit_cqc_test.py | 41 | # Create a simple directed graph: q0 -> q1 (one-way only) | COMMENT |
| MEDIUM | …re/cirq/transformers/routing/route_circuit_cqc_test.py | 321 | # Create a circuit that requires a swap on the reverse-only edge | COMMENT |
| MEDIUM | …re/cirq/transformers/routing/route_circuit_cqc_test.py | 349 | # Create a graph: 0 <-> 1 -> 2 | COMMENT |
| MEDIUM | cirq-core/cirq/work/zeros_sampler_test.py | 40 | # Create a circuit whose measurements are always zeros, and check that | COMMENT |
| MEDIUM | cirq-core/cirq/ops/parallel_gate.py | 110 | # Create a unitary which corresponds to applying the gate | COMMENT |
| MEDIUM | cirq-core/cirq/sim/density_matrix_utils.py | 171 | # Create a mask which is False for only the slice. | COMMENT |
| MEDIUM | cirq-core/cirq/sim/state_vector.py | 304 | # Create a mask which is False for only the slice. | STRING |
| MEDIUM | cirq-core/cirq/protocols/kraus_protocol_test.py | 206 | # Create the expected channel and get its Kraus operators | COMMENT |
| MEDIUM | docs/_book.yaml | 16 | # This file defines the menu structure for the Cirq sub-site within the larger | COMMENT |
| MEDIUM | dev_tools/bash_scripts_test.py | 42 | # Create a unique temporary directory | COMMENT |
| MEDIUM⚡ | …_google/experimental/noise_models/noise_models_test.py | 130 | # Create the circuit and apply the noise model. | COMMENT |
| MEDIUM | …_google/experimental/noise_models/noise_models_test.py | 184 | # Create the circuit and apply the noise model. | COMMENT |
| MEDIUM | …_google/experimental/noise_models/noise_models_test.py | 230 | # Create the circuit and apply the noise model. | COMMENT |
| MEDIUM | …_google/experimental/noise_models/noise_models_test.py | 274 | # Create the circuit and apply the noise model. | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 767 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 842 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 917 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1009 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1074 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1149 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1225 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1300 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1375 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1467 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1532 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1607 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1672 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1764 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1839 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 1931 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2007 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2103 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2218 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2331 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2423 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2498 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2573 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2648 | # Create a client | COMMENT |
| MEDIUM | …tum_v1alpha1/services/quantum_engine_service/client.py | 2713 | # Create a client | COMMENT |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3695 | # 0: ───H───@───────────────────────────────────────@───H─── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3697 | # 1: ───────@───H───@───────────────────────@───H───@─────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3699 | # 2: ───────────────@───H───@───────@───H───@─────────────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3701 | # 3: ───────────────────────@───H───@─────────────────────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3775 | # 0: ───H───@───────────────────────────────────────@───H─── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3777 | # 1: ───────@───H───@───────────────────────@───H───@─────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3779 | # 2: ───────────────@───H───@───────@───H───@─────────────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/circuits/circuit_test.py | 3781 | # 3: ───────────────────────@───H───@─────────────────────── | STRING |
| MEDIUM | cirq-core/cirq/circuits/circuit_test.py | 4178 | # 1: ───────H───@───@─── | STRING |
| MEDIUM | cirq-core/cirq/circuits/circuit_test.py | 4180 | # 2: ───────────H───X─── | STRING |
| MEDIUM⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 153 | 1: ───#2──────────── | CODE |
| MEDIUM⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 155 | 2: ───#3──────────── | CODE |
| MEDIUM⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 220 | 1: ───#2───────────────────── | CODE |
| MEDIUM⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 222 | 2: ───#3───────────────────── | CODE |
| MEDIUM⚡ | …core/cirq/interop/quirk/cells/arithmetic_cells_test.py | 224 | 3: ───#4───────────────────── | CODE |
| MEDIUM | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 58 | # ============================================================================= | STRING |
| MEDIUM | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 60 | # ============================================================================= | STRING |
| MEDIUM | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 86 | # ============================================================================= | STRING |
| MEDIUM | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 88 | # ============================================================================= | STRING |
| MEDIUM | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 159 | # ============================================================================= | STRING |
| MEDIUM | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 161 | # ============================================================================= | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 168 | 1: ───#2────Y[ignore]───M───────#2─────── | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 170 | 2: ───#3────@[ignore]───╫───@───#3─────── | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 172 | 3: ───#4────X───────────╫───@───#4─────── | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 237 | [ 1: ───────#2──────────────────────── ](loops=5) | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 239 | 1: ───#2────────────────────────────────────────────────── | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 249 | [ 1: ─────────────────────────────#2─────────────────────────── ](loops=5) | STRING |
| MEDIUM⚡ | …/cirq/transformers/optimize_for_target_gateset_test.py | 251 | 1: ───#2─────────────────────────────────────────────────────────────────────────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/transformers/merge_k_qubit_gates_test.py | 152 | 1: ───┼───────────────────────#2──────────────────────────────────────────@[ignore]───────────────────────#2──────────── | STRING |
| MEDIUM⚡ | cirq-core/cirq/transformers/merge_k_qubit_gates_test.py | 154 | 2: ───#2──────────────────────────────────────────────────────────────────X───────────[ 2: ───Z─── ][3]───M───────────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 153 | _b(1): ─────────────────────┼───×───────#2────┼───×─────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 178 | 1: ───────────H──────────┼───×───────#2────┼───×─────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 199 | 1: ───────────H───┼───×───────#2────┼───×───────┼───×───────#2────┼───×─────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 223 | 0: ───────────H───×───────#2────────×───────×───────────qft───×─────────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 225 | 1: ───────────H───┼───×───#3────────┼───×───┼───×───────#2────┼───×─────── | STRING |
| MEDIUM | …irq/transformers/qubit_management_transformers_test.py | 302 | ancilla_1: ───#2──────────────────────────────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 149 | [ 1: ───#2────────────────────────────────────────────────────────────────────── ] | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 156 | [ 3: ───#2──────────────────────────────────[ │ ]────────────────────── ] | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 159 | [ 4: ───────────────────────────────────────#2────────────────────────────────── ](loops=6)[external] | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 161 | 1: ───#2────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 163 | 2: ───#3────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 165 | 3: ───#4────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 167 | 4: ───#5────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 184 | [ 1: ───#2────────────────────────────────────────────────────────────────────────────────────── ] | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 191 | [ 3: ───#2──────────────────────────────────────────[ │ ]────────────────────── ] | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 194 | [ 4: ───────────────────────────────────────────────#2────────────────────────────────────────── ](loops=6)[extern | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 196 | 1: ───#2──────────────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 198 | 2: ───#3──────────────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 200 | 3: ───#4──────────────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 202 | 4: ───#5──────────────────────────────────────────────────────────────────────────────────────────────────────────────── | CODE |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 765 | 1: ───┼────────────────────────────#2───────────────────────────────────────────────[ │ ]────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 768 | 2: ───#2────────────────────────────────────────────────────────────────────────────#2────────────────────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 1049 | 1: ───#2────────────────────────────────────────────────────────────────────────────#2─────────────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 1051 | 2: ───#3───────────────────────────────X[ignore]────────────────────────────────────#3─────────────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 1059 | 4: ────────────────────────────────────#2───────────────────────────────────────────@──────────────────────────── | STRING |
| MEDIUM⚡ | …-core/cirq/transformers/transformer_primitives_test.py | 1061 | 5: ───H[ignore]────────────────────────#3───────────────────────────────────────────@──────────────────────────── | STRING |
| MEDIUM | …-core/cirq/transformers/transformer_primitives_test.py | 733 | 1: ───────┼───────────#2───────────────────────────────────────────────────────────@───────Y───────────X─── | STRING |
| MEDIUM | …-core/cirq/transformers/transformer_primitives_test.py | 921 | 1: ───H[ignore]───X[ignore]───#2─────────────────────────────────── | STRING |
| MEDIUM | …-core/cirq/transformers/transformer_primitives_test.py | 923 | 2: ───H[ignore]───────────────#3─────────────────────────────────── | STRING |
| MEDIUM | …-core/cirq/transformers/transformer_primitives_test.py | 958 | 1: ───#2─────────────────────────── | STRING |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-aqt/cirq_aqt/aqt_sampler.py | 276 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 59 | CODE | |
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 119 | CODE | |
| LOW | cirq-ionq/cirq_ionq/ionq_client.py | 390 | CODE | |
| LOW | cirq-ionq/cirq_ionq/job.py | 140 | CODE | |
| LOW | cirq-ionq/cirq_ionq/job.py | 167 | CODE | |
| LOW | cirq-ionq/cirq_ionq/serializer.py | 296 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 1671 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 163 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 441 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 671 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 2211 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 2253 | CODE | |
| LOW | cirq-core/cirq/circuits/moment.py | 588 | CODE | |
| LOW | cirq-core/cirq/circuits/moment.py | 601 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit_test.py | 3519 | CODE | |
| LOW | cirq-core/cirq/circuits/optimization_pass_test.py | 63 | CODE | |
| LOW | …core/cirq/experiments/readout_confusion_matrix_test.py | 54 | CODE | |
| LOW | cirq-core/cirq/experiments/benchmarking/parallel_xeb.py | 415 | CODE | |
| LOW | cirq-core/cirq/experiments/benchmarking/parallel_xeb.py | 471 | CODE | |
| LOW | cirq-core/cirq/interop/quirk/url_to_circuit.py | 245 | CODE | |
| LOW | cirq-core/cirq/interop/quirk/url_to_circuit.py | 333 | CODE | |
| LOW | cirq-core/cirq/interop/quirk/cells/parse.py | 114 | CODE | |
| LOW | cirq-core/cirq/interop/quirk/cells/parse.py | 164 | CODE | |
| LOW | cirq-core/cirq/value/duration.py | 56 | CODE | |
| LOW | cirq-core/cirq/contrib/ghz/ghz_2d_test.py | 107 | CODE | |
| LOW | cirq-core/cirq/contrib/quimb/mps_simulator.py | 385 | CODE | |
| LOW | cirq-core/cirq/contrib/quimb/mps_simulator_test.py | 30 | CODE | |
| LOW | cirq-core/cirq/contrib/quimb/mps_simulator_test.py | 55 | CODE | |
| LOW | cirq-core/cirq/contrib/quimb/grid_circuits_test.py | 69 | CODE | |
| LOW | cirq-core/cirq/contrib/quimb/density_matrix.py | 79 | CODE | |
| LOW | cirq-core/cirq/contrib/quirk/export_to_quirk.py | 57 | CODE | |
| LOW | cirq-core/cirq/contrib/acquaintance/gates.py | 146 | CODE | |
| LOW | cirq-core/cirq/contrib/acquaintance/optimizers.py | 30 | CODE | |
| LOW | cirq-core/cirq/contrib/acquaintance/permutation.py | 244 | CODE | |
| LOW | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 61 | CODE | |
| LOW | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 296 | CODE | |
| LOW | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 361 | CODE | |
| LOW | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 465 | CODE | |
| LOW | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 571 | CODE | |
| LOW | cirq-core/cirq/contrib/routing/device.py | 50 | CODE | |
| LOW | cirq-core/cirq/contrib/routing/greedy.py | 259 | CODE | |
| LOW | cirq-core/cirq/contrib/routing/initialization.py | 34 | CODE | |
| LOW | …ng/pauli_string_measurement_with_readout_mitigation.py | 242 | CODE | |
| LOW | …ng/pauli_string_measurement_with_readout_mitigation.py | 412 | CODE | |
| LOW | …ng/pauli_string_measurement_with_readout_mitigation.py | 763 | CODE | |
| LOW | …ng/pauli_string_measurement_with_readout_mitigation.py | 972 | CODE | |
| LOW | cirq-core/cirq/contrib/paulistring/clifford_optimize.py | 23 | CODE | |
| LOW | cirq-core/cirq/contrib/paulistring/clifford_optimize.py | 96 | CODE | |
| LOW | …uli_string_measurement_with_readout_mitigation_test.py | 61 | CODE | |
| LOW | cirq-core/cirq/testing/consistent_qasm.py | 27 | CODE | |
| LOW | cirq-core/cirq/vis/heatmap_test.py | 279 | CODE | |
| LOW | cirq-core/cirq/transformers/diagonal_optimization.py | 39 | CODE | |
| LOW | cirq-core/cirq/transformers/eject_phased_paulis.py | 292 | CODE | |
| LOW | cirq-core/cirq/transformers/measurement_transformers.py | 68 | CODE | |
| LOW | cirq-core/cirq/transformers/measurement_transformers.py | 102 | CODE | |
| LOW | cirq-core/cirq/transformers/dynamical_decoupling.py | 309 | CODE | |
| LOW | cirq-core/cirq/transformers/dynamical_decoupling.py | 227 | CODE | |
| LOW | cirq-core/cirq/transformers/stratify.py | 205 | CODE | |
| LOW | cirq-core/cirq/transformers/noise_adding.py | 71 | CODE | |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-aqt/cirq_aqt/aqt_device.py | 246 | CODE | |
| LOW | cirq-ionq/cirq_ionq/service.py | 94 | CODE | |
| LOW | cirq-ionq/cirq_ionq/service.py | 167 | CODE | |
| LOW | cirq-ionq/cirq_ionq/service.py | 266 | CODE | |
| LOW | cirq-ionq/cirq_ionq/service.py | 334 | CODE | |
| LOW | cirq-core/cirq/study/resolver.py | 316 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 1239 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit.py | 1439 | CODE | |
| LOW | cirq-core/cirq/circuits/circuit_operation.py | 72 | CODE | |
| LOW | cirq-core/cirq/experiments/two_qubit_xeb.py | 402 | CODE | |
| LOW | cirq-core/cirq/experiments/two_qubit_xeb.py | 492 | CODE | |
| LOW | cirq-core/cirq/experiments/two_qubit_xeb.py | 549 | CODE | |
| LOW | cirq-core/cirq/experiments/z_phase_calibration.py | 39 | CODE | |
| LOW | cirq-core/cirq/experiments/z_phase_calibration.py | 150 | CODE | |
| LOW | cirq-core/cirq/experiments/qubit_characterizations.py | 233 | CODE | |
| LOW | …e/cirq/experiments/single_qubit_readout_calibration.py | 112 | CODE | |
| LOW | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 61 | CODE | |
| LOW | …ore/cirq/contrib/quantikz/circuit_to_latex_quantikz.py | 207 | CODE | |
| LOW | cirq-core/cirq/contrib/qcircuit/qcircuit_diagram.py | 66 | CODE | |
| LOW | cirq-core/cirq/testing/sample_circuits.py | 57 | CODE | |
| LOW | cirq-core/cirq/testing/consistent_protocols.py | 86 | CODE | |
| LOW | cirq-core/cirq/vis/histogram.py | 24 | CODE | |
| LOW | …ytical_decompositions/controlled_gate_decomposition.py | 97 | CODE | |
| LOW | cirq-core/cirq/ops/phased_x_z_gate.py | 336 | CODE | |
| LOW | cirq-core/cirq/sim/state_vector_simulator.py | 145 | CODE | |
| LOW | dev_tools/modules.py | 117 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 818 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 893 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 985 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1125 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1201 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1276 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1351 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1443 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1583 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1740 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1815 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1907 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 1982 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2078 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2191 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2307 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2399 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2474 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2549 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2624 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2764 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2856 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 2931 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 3006 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 3098 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 3173 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 3265 | CODE | |
| LOW | …tum_v1alpha1/services/quantum_engine_service/client.py | 3357 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 378 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 453 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 547 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 691 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 767 | CODE | |
| LOW | …alpha1/services/quantum_engine_service/async_client.py | 842 | CODE | |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 385 | # Check if running in a Jupyter-like environment that supports display | STRING |
| LOW | …ng/pauli_string_measurement_with_readout_mitigation.py | 296 | # Check if input symmetries are commuting with all Pauli strings in the circuit | COMMENT |
| LOW | cirq-core/cirq/vis/density_matrix_test.py | 132 | # Check if the circles are the right size ratio, given the value of the element | COMMENT |
| LOW⚡ | …ransformers/target_gatesets/sqrt_iswap_gateset_test.py | 133 | # Check if unitaries are the same | COMMENT |
| LOW | …lytical_decompositions/two_qubit_to_sqrt_iswap_test.py | 230 | # Check if they are close and output a helpful message | COMMENT |
| LOW | …lytical_decompositions/two_qubit_to_sqrt_iswap_test.py | 268 | # Check if unitaries are the same | COMMENT |
| LOW | …/heuristic_decompositions/two_qubit_gate_tabulation.py | 452 | # Check if any of the product KAK vectors are close to a previously | STRING |
| LOW | …rq-core/cirq/transformers/routing/route_circuit_cqc.py | 327 | # Check if this is a routing-added SWAP operation | COMMENT |
| LOW | …q-core/cirq/protocols/approximate_equality_protocol.py | 80 | # Check if val defines approximate equality via _approx_eq_. This takes | COMMENT |
| LOW | cirq-core/cirq/protocols/apply_mixture_protocol.py | 239 | # Check if the specialized method is present. (STEP A) | COMMENT |
| LOW | cirq-core/cirq/protocols/apply_channel_protocol.py | 238 | # Check if the specialized method is present. | COMMENT |
| LOW | cirq-core/cirq/protocols/unitary_protocol.py | 179 | # Check if there's a decomposition. | COMMENT |
| LOW | cirq-core/cirq/protocols/inverse_protocol.py | 100 | # Check if object defines an inverse via __pow__. | COMMENT |
| LOW | cirq-core/cirq/protocols/qid_shape_protocol.py | 112 | # Check if val is a list of qids | COMMENT |
| LOW | cirq-core/cirq/protocols/qid_shape_protocol.py | 171 | # Check if val is a list of qids | COMMENT |
| LOW | …-core/cirq/protocols/has_stabilizer_effect_protocol.py | 91 | # Check if the action of the unitary on each single qubit pauli string leads to a pauli product. | COMMENT |
| LOW⚡ | cirq-google/cirq_google/line/placement/anneal_test.py | 349 | # Check if every edge is normalized | COMMENT |
| LOW⚡ | cirq-google/cirq_google/line/placement/anneal_test.py | 353 | # Check if every edge is valid | COMMENT |
| LOW⚡ | cirq-google/cirq_google/line/placement/anneal_test.py | 357 | # Check if every edge is present | COMMENT |
| LOW⚡ | cirq-google/cirq_google/line/placement/anneal_test.py | 365 | # Check if every node in the sequences appears exactly once | COMMENT |
| LOW | examples/bernstein_vazirani.py | 78 | # Check if we actually found the secret value. | COMMENT |
| LOW | examples/grover.py | 111 | # Check if we actually found the secret value. | COMMENT |
| LOW | examples/hidden_shift_algorithm.py | 161 | # Check if we actually found the secret value. | COMMENT |
| LOW | examples/qaoa.py | 122 | # Print the results | COMMENT |
| LOW | examples/hhl.py | 463 | # Set C to be the smallest eigenvalue that can be represented by the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cirq-core/cirq/_compat.py | 247 | return a.equals(b) | CODE |
| HIGH | cirq-core/cirq/experiments/t1_decay_experiment.py | 196 | return self.data.equals(other.data) | CODE |
| HIGH | cirq-core/cirq/experiments/t2_decay_experiment.py | 444 | return self._expectation_pauli_x.equals( | CODE |
| HIGH | cirq-core/cirq/experiments/t2_decay_experiment.py | 446 | ) and self._expectation_pauli_y.equals(other._expectation_pauli_y) | CODE |
| HIGH | cirq-core/cirq/experiments/t2_decay_experiment_test.py | 302 | assert results.expectation_pauli_x.equals(expected) | CODE |
| HIGH | cirq-core/cirq/contrib/qasm_import/_parser_test.py | 315 | if (a[0]==1 && a[1]==0) cx q[0],q[1]; | CODE |
| HIGH | …core/cirq/ops/classically_controlled_operation_test.py | 296 | if (m_a==0 && m_b==0) x q[1]; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-core/cirq/interop/quirk/cells/parse.py | 326 | except Exception as ex: | CODE |
| LOW | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 354 | except Exception as e_ppm_other: # pragma: no cover | STRING |
| LOW | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 402 | except Exception as e_disp: | STRING |
| MEDIUM | …-core/cirq/contrib/quantikz/circuit_to_latex_render.py | 403 | print(f"Error displaying PNG in Jupyter: {e_disp}") | STRING |
| LOW | cirq-core/cirq/contrib/graph_device/graph_device.py | 176 | except Exception as error: | CODE |
| LOW | cirq-core/cirq/testing/equivalent_repr_eval.py | 53 | except Exception as ex: | CODE |
| LOW | cirq-core/cirq/testing/equivalent_repr_eval.py | 90 | except Exception: | CODE |
| LOW | cirq-core/cirq/testing/consistent_qasm.py | 90 | except Exception as ex: | STRING |
| LOW | cirq-core/cirq/work/collector.py | 174 | except Exception as error: | CODE |
| LOW | cirq-core/cirq/protocols/json_serialization_test.py | 661 | except Exception as ex: # pragma: no cover | CODE |
| LOW | cirq-core/cirq/protocols/json_serialization_test.py | 666 | except Exception as ex: # pragma: no cover | CODE |
| LOW | dev_tools/check.py | 96 | except Exception as ex: | CODE |
| LOW | dev_tools/snippets_test.py | 395 | except Exception as ex: | CODE |
| MEDIUM | …-google/cirq_google/cloud/quantum_v1alpha1/__init__.py | 139 | def _get_version(dependency_name): | CODE |
| LOW | …-google/cirq_google/cloud/quantum_v1alpha1/__init__.py | 144 | except Exception: | CODE |
| LOW | …-google/cirq_google/cloud/quantum_v1alpha1/__init__.py | 170 | except Exception: | CODE |
| LOW | cirq-google/cirq_google/engine/simulated_local_job.py | 141 | except Exception as e: | CODE |
| LOW | cirq-google/cirq_google/engine/qcs_notebook.py | 93 | except Exception as exc: | CODE |
| LOW | cirq-google/cirq_google/engine/qcs_notebook.py | 104 | except Exception as exc: | CODE |
| LOW | cirq-google/cirq_google/engine/qcs_notebook.py | 178 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-core/cirq/_compat_test.py | 904 | # the default implementation is from the abstract class, which is just pass | COMMENT |
| MEDIUM | cirq-core/cirq/circuits/moment.py | 219 | # Use private variables to facilitate a quick copy. | COMMENT |
| MEDIUM | cirq-core/cirq/circuits/moment.py | 253 | # Use private variables to facilitate a quick copy. | COMMENT |
| MEDIUM⚡ | …ore/cirq/experiments/benchmarking/parallel_xeb_test.py | 334 | fids.pop() # discard smallest to make the test robust to randomness | CODE |
| LOW | cirq-core/cirq/ops/common_channels.py | 579 | # just return first two kraus ops, we don't care about | STRING |
| LOW | cirq-core/cirq/ops/common_channels.py | 946 | # just return identity and z term | STRING |
| MEDIUM | cirq-core/cirq/ops/linear_combinations_test.py | 1284 | # expected_pauli_sum. This is to make the unit test more robust should Sympy change its | COMMENT |
| LOW | cirq-core/cirq/qis/clifford_tableau_test.py | 77 | # Note: the stabilizers are not unique for one state. We just use the one | COMMENT |
| LOW | cirq-core/cirq/qis/clifford_tableau_test.py | 106 | # We just use the one produced by the tableau algorithm. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 160 | # Step 2: Eliminate the elements in A By CNOT and phase gate (i-th row) | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 169 | # Step 3: Eliminate the elements in D By CNOT and phase gate (i-th row) | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 180 | # Step 4: Correct the phase of tableau | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 184 | # Step 5: invert the operations by reversing the order: (AB)^{+} = B^{+} A^{+}. | COMMENT |
| LOW | …ansformers/analytical_decompositions/cphase_to_fsim.py | 177 | # Step 1: find alpha | COMMENT |
| LOW⚡ | …ansformers/analytical_decompositions/cphase_to_fsim.py | 207 | # Step 2: find xi and eta | COMMENT |
| LOW⚡ | …ansformers/analytical_decompositions/cphase_to_fsim.py | 216 | # Step 3: synthesize output circuit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 160 | # Step 2: Eliminate the elements in A By CNOT and phase gate (i-th row) | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 169 | # Step 3: Eliminate the elements in D By CNOT and phase gate (i-th row) | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 180 | # Step 4: Correct the phase of tableau | COMMENT |
| LOW⚡ | …rs/analytical_decompositions/clifford_decomposition.py | 184 | # Step 5: invert the operations by reversing the order: (AB)^{+} = B^{+} A^{+}. | COMMENT |
| LOW | …ansformers/analytical_decompositions/cphase_to_fsim.py | 177 | # Step 1: find alpha | COMMENT |
| LOW⚡ | …ansformers/analytical_decompositions/cphase_to_fsim.py | 207 | # Step 2: find xi and eta | COMMENT |
| LOW⚡ | …ansformers/analytical_decompositions/cphase_to_fsim.py | 216 | # Step 3: synthesize output circuit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-core/cirq/value/abc_alt_test.py | 28 | def my_method(self) -> str: | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 41 | def my_method(self, arg, kw=99): | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 53 | def my_method(self, arg, kw=99): | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 65 | def my_method(self, arg, kw=99): | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 87 | def my_method(self, arg, kw=99) -> None: | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 99 | def my_method(self, arg, kw=99) -> None: | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 117 | def my_method(self, arg, kw=99): | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 129 | def my_method(self): | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 158 | def my_method(self, arg, kw=99) -> str: | CODE |
| LOW | cirq-core/cirq/value/abc_alt_test.py | 178 | def my_method(self, arg, kw=99) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-core/cirq/protocols/decompose_protocol_test.py | 483 | result = cirq.decompose_once(op, default='placeholder') | CODE |
| LOW | cirq-core/cirq/protocols/decompose_protocol_test.py | 486 | assert result == 'placeholder' | CODE |
| LOW | cirq-core/cirq/protocols/decompose_protocol_test.py | 497 | result = cirq.decompose_once(op, default='placeholder') | CODE |
| LOW | cirq-core/cirq/protocols/decompose_protocol_test.py | 500 | assert result == 'placeholder' | CODE |
| LOW | docs/google/specification.md | 41 | PROJECT_ID = "placeholder" | CODE |
| LOW | docs/google/engine.md | 75 | 'placeholder' | CODE |
| LOW | docs/google/calibration.md | 32 | 'placeholder' | CODE |
| LOW | dev_tools/snippets_test.py | 527 | lorem ipsum | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dev_tools/build-protos.sh | 20 | # Usage: | COMMENT |
| LOW | dev_tools/packaging/verify-published-package.sh | 28 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cirq-core/cirq/contrib/acquaintance/permutation.py | 230 | def update_mapping(mapping: dict[ops.Qid, LogicalIndex], operations: cirq.OP_TREE) -> None: | CODE |
| LOW | cirq-core/cirq/sim/clifford/stabilizer_state_ch_form.py | 154 | def update_sum(self, t, u, delta=0, alpha=0) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/cirq_google/experimental/noise_models/noise_models.py | 188 | # TODO: implement per-gate amplitude damping noise. | COMMENT |