Trace Klasse

Konstruktor

Trace(compute_qubits)

Parameter

Name Beschreibung
compute_qubits
Erforderlich

Methoden

add_block
add_operation
clone_empty
estimate
from_json
get_property
has_memory_qubits
has_property
increment_base_error
increment_memory_qubits
increment_resource_state
root_block
runtime
set_property
to_json

add_block

add_block(repetitions=1)

Parameter

Name Beschreibung
repetitions
Standardwert: 1

add_operation

add_operation(id, qubits, params=Ellipsis)

Parameter

Name Beschreibung
id
Erforderlich
qubits
Erforderlich
params
Standardwert: Ellipsis

clone_empty

clone_empty(compute_qubits=None)

Parameter

Name Beschreibung
compute_qubits
Standardwert: None

estimate

estimate(isa, max_error=None)

Parameter

Name Beschreibung
isa
Erforderlich
max_error
Standardwert: None

from_json

from_json()

Parameter

Name Beschreibung
json
Erforderlich

get_property

get_property(key)

Parameter

Name Beschreibung
key
Erforderlich

has_memory_qubits

has_memory_qubits()

has_property

has_property(key)

Parameter

Name Beschreibung
key
Erforderlich

increment_base_error

increment_base_error(amount)

Parameter

Name Beschreibung
amount
Erforderlich

increment_memory_qubits

increment_memory_qubits(amount)

Parameter

Name Beschreibung
amount
Erforderlich

increment_resource_state

increment_resource_state(resource_id, amount)

Parameter

Name Beschreibung
resource_id
Erforderlich
amount
Erforderlich

root_block

root_block()

runtime

runtime(isa)

Parameter

Name Beschreibung
isa
Erforderlich

set_property

set_property(key, value)

Parameter

Name Beschreibung
key
Erforderlich
value
Erforderlich

to_json

to_json()

Attribute

base_error

compute_qubits

depth

memory_qubits

num_gates

required_isa

resource_states

total_qubits