Qiskit Tools (qiskit.tools)

Parallel Routines

parallel_map(task, values[, task_args, …])

Parallel execution of a mapping of values to the function task. This is functionally equivalent to::.

Monitoring

job_monitor(job[, interval, quiet, output])

Monitor the status of a IBMQJob instance.

backend_monitor(backend)

Monitor a single IBMQ backend.

backend_overview()

Gives overview information on all the IBMQ backends that are available.

Quantum Information

qft(circ, q, n)

n-qubit QFT on q in circ.

partial_trace(state, trace_systems[, …])

Partial trace over subsystems of multi-partite matrix.

vectorize(density_matrix[, method])

Flatten an operator to a vector in a specified basis.

devectorize(vectorized_mat[, method])

Devectorize a vectorized square matrix.

choi_to_pauli(choi[, order])

Convert a Choi-matrix to a Pauli-basis superoperator.

chop(array[, epsilon])

Truncate small values of a complex array.

outer(vector1[, vector2])

Construct the outer product of two vectors.

entropy(state)

Compute the von-Neumann entropy of a quantum state.

shannon_entropy(pvec[, base])

Compute the Shannon entropy of a probability vector.

concurrence(state)

Calculate the concurrence.

entanglement_of_formation(state, d0[, d1])

Compute the entanglement of formation of quantum state.

mutual_information(state, d0[, d1])

Compute the mutual information of a bipartite state.

is_pos_def(x)

Return is_pos_def.