question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What is the expected enhancement?

It would be useful if the XY gate could be added to the existing circuit library https://qiskit.org/documentation/apidoc/circuit_library.html

The use case is for a basis gate for the qiskit transpiler.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Cryoriscommented, Oct 24, 2021

It should be defined with the minus sign, so option 2 😄 I’ll assign you @epelaaez!

The implementation should be pretty similar to the RZX gate (in qiskit/circuit/library/standard_gates/rzx.py) if you want to have a look.

0reactions
epelaaezcommented, Nov 5, 2021

Sorry for the delay, but I’ve created a draft pull request adding the gate, feel free to leave any comments.

@Cryoris I am not sure about the way I implemented the default value for beta in QuantumCircuit.xy and in XYGate, could you check that out and tell me if I should make any changes? Also, what tests should I create/modify for the new gate?

Read more comments on GitHub >

github_iconTop Results From Across the Web

XY — pyQuil 2.28.0 documentation - Rigetti Computing
pyquil.gates. XY (angle, q1, q2)[source]¶. Produces a parameterized ISWAP gate: XY(phi) = [[1, 0, 0, 0], [0, cos(phi/2), 1j * sin(phi/2), 0], [0, ......
Read more >
A new strategy to implement XY entangling gates in ...
Researchers at Rigetti Computing recently demonstrated the potential of using XY entangling gates to improve the performance of a ...
Read more >
Quantum logic gate - Wikipedia
In quantum computing and specifically the quantum circuit model of computation, a quantum logic gate (or simply quantum gate) is a basic quantum...
Read more >
Implementation of XY entangling gates with a single calibrated ...
One approach to minimize the circuit depth is the use of a more expressive gate set. The XY two-qubit gate set can offer...
Read more >
Single Qubit Gates - Qiskit
In this section we will cover gates, the operations that change a qubit between ... 1.2 The Y & Z-Gates; Digression: The X,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found