Skip to content

Commit d60b9ca

Browse files
committed
Add Grover's algorithm with conditional imports, ignore in CI
1 parent 069d239 commit d60b9ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quantum/grover_search_algorithm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
https://qiskit.org/textbook/ch-algorithms/grover.html
1313
"""
1414

15-
import math
1615
import importlib.util
16+
import math
17+
1718

1819
QISKIT_AVAILABLE = importlib.util.find_spec("qiskit") is not None
1920

0 commit comments

Comments
 (0)