Skip to content

[BUG] Gates with old naming convention #13

@sayana25

Description

@sayana25

Expected behavior

def circuit(self, inputs, weights):
SptmAngleEmbedding(inputs, wires=range(self.n_qubits))
for i in range(self.n_layers):
for j in range(self.n_qubits - 1):
SptmfRxRx(weights[i, j2 : j2+2], wires=[j, j+1])
SptmFHH(wires=[j, j+1])
return [qml.expval(qml.PauliZ(wires=i)) for i in range(self.n_qubits)]

Actual behavior

Can you please update the current names of these gates in the code? They are not working anymore in the updates matchcake-opt repository?

Additional information

No response

Source code

Tracebacks

System information

same as yours

Existing GitHub issues

  • I have searched existing GitHub issues to make sure the issue does not already exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions