qiskit.providers.aer.library.SaveExpectationValueVariance.copy¶
- SaveExpectationValueVariance.copy(name=None)¶
Copy of the instruction.
- Parameters
name (str) – name to be given to the copied circuit, if None then the name stays the same.
- Returns
- a copy of the current instruction, with the name
updated if it was provided
- Return type