qlasskit.qcircuit.qcircuitwrapper.QCircuitWrapper

class qlasskit.qcircuit.qcircuitwrapper.QCircuitWrapper

Wrapper interface for a class containing a qcircuit

__init__()

Methods

__init__()

circuit()

decode_counts(counts[, discard_lower])

Decode data from a circuit counts dict

decode_output(istr)

draw()

encode_input(*qvals)

export([framework])

Export the circuit to a supported framework

gate([framework])

Returns the gate for a specific framework

Attributes

input_qubits

Returns the list of input qubits

input_size

num_gates

num_qubits

output_qubits

Returns the list of output qubits

output_size

qubits

Returns all the qubits of the circuit