Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Phase Gate #563

Merged
merged 25 commits into from
Mar 1, 2024
Merged

Conversation

erick-xanadu
Copy link
Contributor

@erick-xanadu erick-xanadu commented Feb 29, 2024

Add GlobalPhase to:

  • Frontend
  • MLIR
  • Runtime

The GlobalPhase frontend primitive accepts input wires as inputs and wires outputs but are not required. To maintain its position in the program we place the primitive in FORCED_ORDER_PRIMITIVES.

In MLIR and the runtime, the GlobalPhaseOp takes no wires as inputs.

@erick-xanadu erick-xanadu force-pushed the eochoa/2024-02-27/global-phase-gate-2 branch 2 times, most recently from 0e43798 to 848dce7 Compare February 29, 2024 18:14
@erick-xanadu erick-xanadu changed the base branch from main to v0.5.0-rc February 29, 2024 18:14
@erick-xanadu erick-xanadu added this to the v0.5.0 milestone Feb 29, 2024
@erick-xanadu erick-xanadu marked this pull request as ready for review February 29, 2024 20:26
Copy link
Collaborator

@dime10 dime10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @erick-xanadu 🎉

mlir/include/Quantum/IR/QuantumOps.td Show resolved Hide resolved
mlir/include/Quantum/IR/QuantumOps.td Show resolved Hide resolved
frontend/catalyst/jax_tracer.py Show resolved Hide resolved
doc/changelog.md Show resolved Hide resolved
frontend/catalyst/jax_primitives.py Show resolved Hide resolved
@erick-xanadu erick-xanadu force-pushed the eochoa/2024-02-27/global-phase-gate-2 branch from 2c87201 to 2f8ec0a Compare February 29, 2024 23:45
@erick-xanadu erick-xanadu added author:build-wheels Run the wheel building workflows on this Pull Request reviewer:require-wheels Pull Requests will need wheel building job successful before being merged labels Feb 29, 2024
@erick-xanadu erick-xanadu merged commit 9d8691a into v0.5.0-rc Mar 1, 2024
63 checks passed
@erick-xanadu erick-xanadu deleted the eochoa/2024-02-27/global-phase-gate-2 branch March 1, 2024 01:17
erick-xanadu added a commit that referenced this pull request Mar 1, 2024
Add `GlobalPhase` to:

* Frontend
* MLIR
* Runtime

The `GlobalPhase` frontend primitive accepts input wires as inputs and
wires outputs but are not required. To maintain its position in the
program we place the primitive in `FORCED_ORDER_PRIMITIVES`.

In MLIR and the runtime, the `GlobalPhaseOp` takes no wires as inputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author:build-wheels Run the wheel building workflows on this Pull Request reviewer:require-wheels Pull Requests will need wheel building job successful before being merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants