Skip to content

Commit

Permalink
corrected docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jf-kong committed Mar 18, 2024
1 parent 555c502 commit fd296e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/models/qcnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(
nlayers (int): The number of layers in the QCNN.
nclasses (int, optional): The number of classes for the classification task. Defaults to 2.
params (np.ndarray, optional): The initial parameters for the QCNN. If None, random parameters are generated. Defaults to None.
twoqubitansatz (qibo.core.circuit.Circuit, optional): A two-qubit ansatz for the convolutional layers. If None, a default ansatz is used. Defaults to None.
twoqubitansatz (qibo.models.circuit.Circuit, optional): A two-qubit ansatz for the convolutional layers. If None, a default ansatz is used. Defaults to None.
copy_init_state (bool, optional): Whether to copy the initial state for each shot in the simulation. If None, the behavior depends on the backend. Defaults to None.
Raises:
Expand Down

0 comments on commit fd296e3

Please sign in to comment.