Class BasisValue
Represents a value in a quantum basis.
Implements
Inherited Members
Namespace: QRG.QuantumForge.Runtime
Assembly: .dll
Syntax
[Serializable]
public class BasisValue : IEquatable<BasisValue>
Fields
| Improve this Doc View SourceName
The name of the basis value.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Methods
| Improve this Doc View SourceEquals(BasisValue)
Determines whether the specified BasisValue is equal to the current instance.
Declaration
public bool Equals(BasisValue other)
Parameters
Type | Name | Description |
---|---|---|
BasisValue | other | The other BasisValue to compare. |
Returns
Type | Description |
---|---|
bool |
|
Equals(object)
Determines whether the specified object is equal to the current instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
| Improve this Doc View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |