Skip to content

Commit be55b50

Browse files
committed
2 parents 395e384 + cf359b1 commit be55b50

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
@@ -17,6 +17,7 @@
1717
try:
1818
import qiskit
1919
from qiskit import Aer, ClassicalRegister, QuantumCircuit, QuantumRegister, execute
20+
2021
QISKIT_AVAILABLE = True
2122
except ModuleNotFoundError:
2223
QISKIT_AVAILABLE = False
@@ -97,4 +98,4 @@ def grover_search(number_of_qubits: int = 2):
9798
if QISKIT_AVAILABLE:
9899
print(f"Total count for Grover search state is: {grover_search(3)}")
99100
else:
100-
print("qiskit not installed. Install with: pip install qiskit qiskit-aer")
101+
print("qiskit not installed. Install with: pip install qiskit qiskit-aer")

0 commit comments

Comments
 (0)