• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 23838665244
88%

Build:
DEFAULT BRANCH: main
Ran 01 Apr 2026 08:38AM UTC
Jobs 1
Files 929
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Apr 2026 07:42AM UTC coverage: 87.476% (-0.007%) from 87.483%
23838665244

push

github

web-flow
Move `StandardGate` definition into its own module (#15914)

This is a staging commit, splitting up the giant monolithic
`qiskit_circuit::operations` to put `StandardGate` in its own module.
The code is unchanged, other than imports.

This is preparatory for moving more code out of `quantum_info` that
connects `StandardGate` to base `quantum-info` objects.

Unfortunately I couldn't make this register in `git` as a giant move, so
the best way to review this commit is to verify that the diff of the
moved block (lines 1163 to 3084) in `crates/circuit/src/operations.rs`
in the parent of this commit[^1] is minimal.  For example:

```bash
( git show 7ceda6324b3d:crates/circuit/src/operations.rs |
        head -n 3084 |
        tail -n+1163 ) |
    diff - crates/circuit/src/standard_gate/mod.rs
```

shows

```text
0a1,27
> // This code is part of Qiskit.
> //
> // (C) Copyright IBM 2026
> //
> // This code is licensed under the Apache License, Version 2.0. You may
> // obtain a copy of this license in the LICENSE.txt file in the root directory
> // of this source tree or at https://www.apache.org/licenses/LICENSE-2.0.
> //
> // Any modifications or derivative works of this code must retain this
> // copyright notice, and modified files need to carry a notice indicating
> // that they have been altered from the originals.
>
> use crate::circuit_data::{CircuitData, PyCircuitData};
> use crate::operations::{Operation, Param, add_param, clone_param, multiply_param, radd_param};
> use crate::{Qubit, gate_matrix, impl_intopyobject_for_copy_pyclass, imports};
>
> use ndarray::{Array2, aview2};
> use num_complex::Complex64;
> use smallvec::{SmallVec, smallvec};
> use std::f64::consts::PI;
>
> use numpy::{IntoPyArray, PyArray2};
> use pyo3::prelude::*;
> use pyo3::types::{IntoPyDict, PyList, PyTuple};
>
> const FLOAT_ZERO: Param = Param::Float(0.0);
>
1920,1922d1946
<
< const FLOAT_ZERO: Param = Param::Float(0.0);
<
```

[^1]: 7ceda6324b3d: Revert "Support commutatio... (continued)

1013 of 1205 new or added lines in 2 files covered. (84.07%)

21 existing lines in 3 files now uncovered.

104098 of 119002 relevant lines covered (87.48%)

997061.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
192
84.05
crates/circuit/src/standard_gate/mod.rs

Coverage Regressions

Lines Coverage ∆ File
12
97.15
-0.47% crates/qasm2/src/parse.rs
8
92.03
-0.51% crates/qasm2/src/lex.rs
1
94.71
-0.18% crates/transpiler/src/passes/unitary_synthesis/decomposers.rs
Jobs
ID Job ID Ran Files Coverage
1 23838665244.1 01 Apr 2026 08:38AM UTC 929
87.48
GitHub Action Run
Source Files on build 23838665244
  • Tree
  • List 929
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23838665244
  • eb47a1f7 on github
  • Prev Build on gh-readonly-queue/main/pr-15913-ed07923d8a0af448282b3f5a3c559dc05a07ecaa (#23807333180)
  • Next Build on main (#23840217421)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc