I have error Error: 'hoh_circuit'.
when I submit code, which seems to be ok
challenge_code = '''n_bits = 4
dev = qml.device("default.qubit", wires=n_bits)
@qml.qnode(dev)
def hoh_circuit(combo):
"""A circuit which applies Hadamard-oracle-Hadamard and returns probabilities.
Args:
combo (list[int]): A list of bits representing a secret combination.
Returns:
list[float]: Measurement outcome probabilities.
"""
##################
# YOUR CODE HERE #
##################
qml.broadcast(qml.Hadamard, pattern='single', wires=range(n_bits))
qml.QubitUnitary(oracle_matrix(combo), wires=range(n_bits))
qml.broadcast(qml.Hadamard, pattern='single', wires=range(n_bits))
return qml.probs(wires=range(n_bits))
'''