qubit_named: Named Qubit

Description Usage Arguments Details

View source: R/Qubits.R

Description

A qubit identified by name.

Usage

1

Arguments

name

the name of the op

Details

By default, NamedQubit has a lexicographic order. However, numbers within the name are handled correctly. So, for example, if you print a circuit containing ‘qubit_named(’qubit22')‘ and 'qubit_named(’qubit3')', the wire for 'qubit3' will correctly come before 'qubit22'.


henry090/Cirq documentation built on June 13, 2020, 1:28 a.m.