Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Guillermo Alonso-Linaje <65235481+KetpuntoG@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent b3bdee3 commit 3f5fe18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .dep-versions
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ enzyme=v0.0.149
# 'doc/requirements.txt
pennylane=0.40.0-dev11


# For a custom LQ/LK version, update the package version here and at
# 'doc/requirements.txt'. Also, update the 'LIGHTNING_GIT_TAG' at
# 'runtime/Makefile' and at all GitHub workflows, using the exact
Expand Down
12 changes: 6 additions & 6 deletions frontend/test/pytest/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def body(i):


def test_reflection(backend):
"""Test reflection."""
"""Test Reflection."""

@qml.prod
def hadamards(wires):
Expand All @@ -552,7 +552,7 @@ def reflection(alpha):


def test_amplitude_amplification(backend):
"""Test amplitude amplification."""
"""Test AmplitudeAmplification."""

def amplitude_amplification(params):
qml.RY(params[0], wires=0)
Expand Down Expand Up @@ -605,7 +605,7 @@ def fermionic(weight):


def test_arbitrary_unitary(backend):
"""Test arbitrary unitary."""
"""Test ArbitraryUnitary."""

def arbitrary_unitary(weights):
qml.ArbitraryUnitary(weights, wires=range(2))
Expand Down Expand Up @@ -669,7 +669,7 @@ def aqft(order):

@pytest.mark.xfail(reason="Takes quantum tape as a parameter")
def test_hilbert_schmidt(backend):
"""Test Hilbert Schmidt."""
"""Test HilbertSchmidt."""
with qml.QueuingManager.stop_recording():
u_tape = qml.tape.QuantumTape([qml.Hadamard(0)])

Expand All @@ -690,7 +690,7 @@ def hilbert_test(v_params):

@pytest.mark.xfail(reason="Takes quantum tape as a parameter")
def test_local_hilbert_schmidt(backend):
"""Test Local Hilbert Schmidt."""
"""Test LocalHilbertSchmidt."""
with qml.QueuingManager.stop_recording():
u_tape = qml.tape.QuantumTape([qml.CZ(wires=(0, 1))])

Expand Down Expand Up @@ -917,7 +917,7 @@ def select():


def test_controlled_sequence(backend):
"""Test controlled sequence."""
"""Test ControlledSequence."""

def controlled_sequence(x):
"""Test circuit"""
Expand Down

0 comments on commit 3f5fe18

Please sign in to comment.