Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 5, 2025

Summary

Brings qiskit.transpiler.passes.optimization.light_cone.LightCone to qiskit.transpiler.passes.LightCone and updates the documentation links so it builds.

Details and comments

qiskit.transpiler.passes.LightCone was introduced in 2.0 and it is documented in that release as such. However, the 2.1 documentation does not include it, and since then it has not been possible to import it using from qiskit.transpiler.passes import LightCone. This PR restores that behavior.

I haven’t investigated why/how/when this API breakage occurred, and my memory is known to be ... weak. So, there’s a chance I’m missing some context, in which case this PR can be closed as wontfix.


This is an automatic backport of pull request #15219 done by [Mergify](https://mergify.com).

* LightCone documentation

* cherry-picking 88df8ee

* undo changes in the release notes

* undo whitespacing changes too

* "more than one target found for cross-reference" fix

* address #15219

* undo unrelated changes

---------

Co-authored-by: Elena Peña Tapia <[email protected]>
Co-authored-by: Julien Gacon <[email protected]>
(cherry picked from commit 1f4811b)

# Conflicts:
#	qiskit/transpiler/passes/optimization/__init__.py
@mergify
Copy link
Contributor Author

mergify bot commented Dec 5, 2025

Cherry-pick of 1f4811b has failed:

On branch mergify/bp/stable/2.2/pr-15219
Your branch is up to date with 'origin/stable/2.2'.

You are currently cherry-picking commit 1f4811b17.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   qiskit/circuit/__init__.py
	modified:   qiskit/transpiler/passes/__init__.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   qiskit/transpiler/passes/optimization/__init__.py

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot added the conflicts used by mergify when there are conflicts in a port label Dec 5, 2025
@mergify mergify bot requested a review from a team as a code owner December 5, 2025 12:37
@mergify mergify bot added the conflicts used by mergify when there are conflicts in a port label Dec 5, 2025
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@github-actions github-actions bot added documentation Something is not clear or an error documentation Changelog: None Do not include in changelog labels Dec 5, 2025
@github-actions github-actions bot added this to the 2.3.0 milestone Dec 5, 2025
@github-project-automation github-project-automation bot moved this to Ready in Qiskit 2.3 Dec 5, 2025
@Cryoris Cryoris modified the milestones: 2.3.0, 2.2.4 Dec 9, 2025
@Cryoris Cryoris removed this from Qiskit 2.3 Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in changelog conflicts used by mergify when there are conflicts in a port documentation Something is not clear or an error documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants