Skip to content

Release 0.11.0

Compare
Choose a tag to compare
@josh146 josh146 released this 19 Aug 00:52
· 129 commits to master since this release

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