pygsti.evotypes.chp

The CHP (“chp”) evolution type

Submodules

Package Contents

Classes

EffectRep

The base class for all POVM effect representation classes

EffectRepComputational

The base class for all POVM effect representation classes

OpRep

The base class for all operation representation classes

OpRepClifford

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

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

StateRepComputational

The base class for all state representation classes

StateRepComposed

The base class for all state representation classes

Functions

chpexe_path()

Attributes

chpexe

SpaceT

pygsti.evotypes.chp.chpexe = 'None'
pygsti.evotypes.chp.chpexe_path()
class pygsti.evotypes.chp.EffectRep(zvals, state_space)

Bases: pygsti.evotypes.basereps.EffectRep

The base class for all POVM effect representation classes

property nqubits
zvals
state_space
class pygsti.evotypes.chp.EffectRepComputational(zvals, basis, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

basis
pygsti.evotypes.chp.SpaceT
class pygsti.evotypes.chp.OpRep(chp_ops, state_space)

Bases: pygsti.evotypes.basereps.OpRep

The base class for all operation representation classes

property num_qubits
base_chp_ops
state_space
qubit_labels
qubit_label_to_index
acton(state)
adjoint_acton(state)
acton_random(state, rand_state)
abstractmethod adjoint_acton_random(state, rand_state)
to_dense(on_space: pygsti.SpaceT)
class pygsti.evotypes.chp.OpRepClifford(unitarymx, symplecticrep, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
class pygsti.evotypes.chp.OpRepStandard(name, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

name
basis
class pygsti.evotypes.chp.OpRepComposed(factor_op_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

factor_reps
reinit_factor_op_reps(factor_op_reps)
class pygsti.evotypes.chp.OpRepEmbedded(state_space, target_labels, embedded_rep)

Bases: OpRep

The base class for all operation representation classes

embedded_labels
embedded_rep
embedded_to_local_qubit_indices
class pygsti.evotypes.chp.OpRepRepeated(rep_to_repeat, num_repetitions, state_space)

Bases: OpRep

The base class for all operation representation classes

repeated_rep
num_repetitions
class pygsti.evotypes.chp.OpRepRandomUnitary(basis, unitary_rates, unitary_reps, seed_or_state, state_space)

Bases: OpRep

The base class for all operation representation classes

basis
unitary_reps
update_unitary_rates(rates)
class pygsti.evotypes.chp.OpRepStochastic(stochastic_basis, basis, initial_rates, seed_or_state, state_space)

Bases: OpRepRandomUnitary

The base class for all operation representation classes

rates
stochastic_basis
update_rates(rates)
class pygsti.evotypes.chp.StateRep(chp_ops, state_space)

Bases: pygsti.evotypes.basereps.StateRep

The base class for all state representation classes

property num_qubits
chp_ops
state_space
qubit_labels
qubit_label_to_index
copy()
actionable_staterep()
class pygsti.evotypes.chp.StateRepComputational(zvals, basis, state_space)

Bases: StateRep

The base class for all state representation classes

class pygsti.evotypes.chp.StateRepComposed(state_rep, op_rep, state_space)

Bases: StateRep

The base class for all state representation classes

state_rep
op_rep
reps_have_changed()
actionable_staterep()