Learn
Demos
Codebook
Challenges
Videos
Glossary
Features
Education
Performance
FAQ
Documentation
API
Devices
GitHub
Catalyst
Get involved
Datasets
Blog
Support
Install
Learn
Learn
Demos
Codebook
Challenges
Videos
Glossary
Features
Education
Performance
FAQ
Documentation
Documentation
API
Devices
GitHub
Catalyst
Get involved
Datasets
Blog
Support
GitHub
Install
Navigation
index
modules
|
next
|
previous
|
PennyLane 0.38.0 documentation
»
qml.devices
»
qml.devices.default_tensor
»
qml.devices.default_tensor.expval_core_sum
Table of contents
Search
Using PennyLane
What is PennyLane?
Quantum circuits
Gradients and training
Quantum operators
Measurements
Dynamic quantum circuits
Templates
Inspecting circuits
Compiling circuits
Compiling workflows
Importing workflows
Quantum Chemistry
Quantum Datasets
Logging
Release news
Release notes
Deprecations
Updated Operators
Development
Development guide
Building a plugin
Adding new operators
API
qml
qml.compiler
qml.data
qml.debugging
qml.drawer
qml.fermi
qml.fourier
qml.gradients
qml.kernels
qml.logging
qml.math
qml.noise
qml.numpy
qml.ops.op_math
qml.pauli
qml.pulse
qml.qcut
qml.qinfo
qml.resource
qml.shadows
qml.transforms
qml.qaoa
qml.qchem
qml.qnn
qml.spin
Internals
qml.capture
qml.devices
qml.measurements
qml.pytrees
qml.operation
qml.queuing
qml.tape
qml.utils
qml.wires
qml.workflow
Docs
qml.devices
qml.devices.default_tensor
qml.devices.default_tensor.expval_core_sum
qml.devices.default_tensor.expval_core_sum
¶
expval_core_sum
(
obs
,
device
)
[source]
¶
Computes the expval of a Sum.
code/api/pennylane.devices.default_tensor.expval_core_sum
Download Python script
Download Notebook
View on GitHub
Contents
Using PennyLane
What is PennyLane?
Quantum circuits
Gradients and training
Quantum operators
Measurements
Dynamic quantum circuits
Templates
Inspecting circuits
Compiling circuits
Compiling workflows
Importing workflows
Quantum Chemistry
Quantum Datasets
Logging
Release news
Release notes
Deprecations
Updated Operators
Development
Development guide
Building a plugin
Adding new operators
API
qml
qml.compiler
qml.data
qml.debugging
qml.drawer
qml.fermi
qml.fourier
qml.gradients
qml.kernels
qml.logging
qml.math
qml.noise
qml.numpy
qml.ops.op_math
qml.pauli
qml.pulse
qml.qcut
qml.qinfo
qml.resource
qml.shadows
qml.transforms
qml.qaoa
qml.qchem
qml.qnn
qml.spin
Internals
qml.capture
qml.devices
qml.devices.default_qubit
qml.devices.default_qubit_legacy
qml.devices.default_qubit_jax
qml.devices.default_qubit_torch
qml.devices.default_qubit_tf
qml.devices.default_qubit_autograd
qml.devices.default_gaussian
qml.devices.default_mixed
qml.devices.default_qutrit
qml.devices.default_qutrit_mixed
qml.devices.default_clifford
qml.devices.default_tensor
qml.devices.default_tensor.DefaultTensor
qml.devices.default_tensor.accepted_methods
qml.devices.default_tensor.accepted_observables
qml.devices.default_tensor.apply_operation_core
qml.devices.default_tensor.apply_operation_core_multirz
qml.devices.default_tensor.apply_operation_core_paulirot
qml.devices.default_tensor.apply_operation_core_trotter_product
qml.devices.default_tensor.expval_core
qml.devices.default_tensor.expval_core_linear_combination
qml.devices.default_tensor.expval_core_prod
qml.devices.default_tensor.expval_core_sprod
qml.devices.default_tensor.expval_core_sum
qml.devices.default_tensor.expval_core_tensor
qml.devices.default_tensor.stopping_condition
qml.devices._legacy_device
qml.devices._qubit_device
qml.devices._qutrit_device
qml.devices.null_qubit
qml.devices.tests
Next generation devices
Preprocessing Transforms
Modifiers
Qubit Simulation Tools
Qutrit Mixed-State Simulation Tools
qml.measurements
qml.pytrees
qml.operation
qml.queuing
qml.tape
qml.utils
qml.wires
qml.workflow
Downloads
code/api/pennylane.devices.default_tensor.expval_core_sum
Download Python script
Download Notebook
View on GitHub
Related
Navigation
index
modules
|
next
|
previous
|
PennyLane 0.38.0 documentation
»
qml.devices
»
qml.devices.default_tensor
»
qml.devices.default_tensor.expval_core_sum