qlasskit.algorithms.deutschjozsa.DeutschJozsa

class qlasskit.algorithms.deutschjozsa.DeutschJozsa(f: QlassF)
__init__(f: QlassF)
Parameters:

f (QlassF) – our f(x) -> bool

Methods

__init__(f)

param f:

our f(x) -> bool

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