Skip to content

Commit

Permalink
typing.List test
Browse files Browse the repository at this point in the history
  • Loading branch information
Giacomo Antonioli committed Nov 27, 2023
1 parent b99ed59 commit 5899fb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qimp/ImageEncoding/QuantumImage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Quantum image class."""
import math
import typing

import matplotlib.pyplot as plt
import numpy
Expand Down Expand Up @@ -42,7 +43,7 @@ def test_image(side: int = 8) -> numpy.ndarray:
class QuantumImage(object):
"""General class to implement represent a classical image in Qiskit."""

angles: list[float] = list()
angles: typing.List[float] = list()
circuit = QuantumCircuit()
x_qubits = QuantumRegister()
y_qubits = QuantumRegister()
Expand Down

0 comments on commit 5899fb8

Please sign in to comment.