github PennyLaneAI/pennylane-cirq v0.11.0
Release 0.11.0

latest releases: v0.36.0, v0.34.0, v0.33.0...
3 years ago

New features

  • One can now specify any string or number as a custom wire label, and use these labels to address subsystems on the device: (#37) (#42)

    dev = qml.device('cirq.simulator', wires=['q1', 'ancilla', 0, 1])
    
    @qml.qnode(dev)
    def circuit():
        qml.Hadamard(wires='q1')
        qml.CNOT(wires=[1, 'ancilla'])
        return qml.expval(qml.PauliZ('q1'))

Contributors

This release contains contributions from (in alphabetical order):

Josh Izaac, Nathan Killoran, Maria Schuld

Don't miss a new pennylane-cirq release

NewReleases is sending notifications on new releases.