pygsti.evotypes.qibo

An evolution type that uses the 3rd-party ‘qibo’ package.

Submodules

Package Contents

Classes

POVMRep

The base class for all POVM representation classes

ComputationalPOVMRep

The base class for all POVM representation classes

ComposedPOVMRep

The base class for all POVM representation classes

OpRep

The base class for all operation representation classes

OpRepDenseUnitary

The base class for all operation representation classes

OpRepDenseSuperop

The base class for all operation representation classes

OpRepStandard

The base class for all operation representation classes

OpRepComposed

The base class for all operation representation classes

OpRepEmbedded

The base class for all operation representation classes

OpRepRepeated

The base class for all operation representation classes

OpRepKraus

The base class for all operation representation classes

OpRepRandomUnitary

The base class for all operation representation classes

OpRepStochastic

The base class for all operation representation classes

StateRep

The base class for all state representation classes

StateRepDensePure

The base class for all state representation classes

StateRepDense

The base class for all state representation classes

StateRepComputational

The base class for all state representation classes

StateRepComposed

The base class for all state representation classes

Attributes

densitymx_mode

nshots

minimal_space

std_qibo_creation_fns

pygsti.evotypes.qibo.densitymx_mode = 'False'
pygsti.evotypes.qibo.nshots = '1000'
pygsti.evotypes.qibo.minimal_space = "'Hilbert'"
class pygsti.evotypes.qibo.POVMRep

Bases: pygsti.evotypes.basereps.POVMRep

The base class for all POVM representation classes

class pygsti.evotypes.qibo.ComputationalPOVMRep(nqubits, qubit_filter)

Bases: POVMRep

The base class for all POVM representation classes

nqubits
qubit_filter
probabilities(state, rand_state, effect_labels)
class pygsti.evotypes.qibo.ComposedPOVMRep(errmap_rep, base_povm_rep, state_space)

Bases: POVMRep

The base class for all POVM representation classes

errmap_rep
base_povm_rep
state_space
probabilities(state, rand_state, effect_labels)
pygsti.evotypes.qibo.std_qibo_creation_fns
class pygsti.evotypes.qibo.OpRep(state_space)

Bases: pygsti.evotypes.basereps.OpRep

The base class for all operation representation classes

property dim
state_space
abstract create_qibo_ops_on(qubit_indices)
acton(state)
abstract adjoint_acton(state)
acton_random(state, rand_state)
adjoint_acton_random(state, rand_state)
copy()
class pygsti.evotypes.qibo.OpRepDenseUnitary(mx, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
base
create_qibo_ops_on(qubit_indices)
base_has_changed()
to_dense(on_space)
class pygsti.evotypes.qibo.OpRepDenseSuperop(mx, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
base
base_has_changed()
to_dense(on_space)
create_qibo_ops_on(qubit_indices)
copy()
class pygsti.evotypes.qibo.OpRepStandard(name, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

name
basis
creation_fn
create_qibo_ops_on(qubit_indices)
class pygsti.evotypes.qibo.OpRepComposed(factor_op_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

factor_reps
create_qibo_ops_on(qubit_indices)
reinit_factor_op_reps(new_factor_op_reps)
class pygsti.evotypes.qibo.OpRepEmbedded(state_space, target_labels, embedded_rep)

Bases: OpRep

The base class for all operation representation classes

target_labels
embedded_rep
create_qibo_ops_on(qubit_indices)
class pygsti.evotypes.qibo.OpRepRepeated(rep_to_repeat, num_repetitions, state_space)

Bases: OpRep

The base class for all operation representation classes

repeated_rep
num_repetitions
create_qibo_ops_on(qubit_indices)
class pygsti.evotypes.qibo.OpRepKraus(basis, kraus_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
kraus_reps
create_qibo_ops_on(qubit_indices)
copy()
to_dense(on_space)
class pygsti.evotypes.qibo.OpRepRandomUnitary(basis, unitary_rates, unitary_reps, seed_or_state, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
unitary_reps
unitary_rates
state_space
create_qibo_ops_on(qubit_indices)
copy()
update_unitary_rates(rates)
to_dense(on_space)
class pygsti.evotypes.qibo.OpRepStochastic(stochastic_basis, basis, initial_rates, seed_or_state, state_space)

Bases: OpRepRandomUnitary

The base class for all operation representation classes

rates
stochastic_basis
basis
update_rates(rates)
class pygsti.evotypes.qibo.StateRep(qibo_circuit, qibo_state, state_space)

Bases: pygsti.evotypes.basereps.StateRep

The base class for all state representation classes

property num_qubits
qibo_circuit
qibo_state
state_space
copy()
actionable_staterep()
class pygsti.evotypes.qibo.StateRepDensePure(purevec, state_space, basis)

Bases: StateRep

The base class for all state representation classes

property base
basis
base_has_changed()
to_dense(on_space)
class pygsti.evotypes.qibo.StateRepDense(data, state_space, basis)

Bases: StateRep

The base class for all state representation classes

property base
basis
std_basis
data
udim
base_has_changed()
to_dense(on_space)
class pygsti.evotypes.qibo.StateRepComputational(zvals, basis, state_space)

Bases: StateRep

The base class for all state representation classes

zvals
basis
class pygsti.evotypes.qibo.StateRepComposed(state_rep, op_rep, state_space)

Bases: StateRep

The base class for all state representation classes

property basis
state_rep
op_rep
reps_have_changed()
actionable_staterep()