Skip to content

Commit

Permalink
Mark QSD QFT5 with xfail (quantumlib#6767)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri authored Oct 15, 2024
1 parent 0d3d275 commit 9c42487
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from scipy.stats import unitary_group


@pytest.mark.xfail(reason='#6765')
@pytest.mark.parametrize('n_qubits', list(range(1, 8)))
def test_random_qsd_n_qubit(n_qubits):
U = unitary_group.rvs(2**n_qubits)
Expand Down Expand Up @@ -191,6 +192,7 @@ def test_three_qubit_gate(gate):
np.testing.assert_allclose(new_unitary, desired_unitary, atol=1e-6)


@pytest.mark.xfail(reason='#6765')
def test_qft5():
global_phase = np.exp(1j * np.random.choice(np.linspace(0, 2 * np.pi, 10)))
desired_unitary = cirq.unitary(cirq.qft(*cirq.LineQubit.range(5))) * global_phase
Expand Down

0 comments on commit 9c42487

Please sign in to comment.