RealAmplitudes.width

RealAmplitudes.width()

Return number of qubits plus clbits in circuit.

Returns

Width of circuit.

Return type

int